Re: [anjuta-list] Using statvfs_exec with vala in anjuta
- From: Sébastien Granjoux <seb sfo free fr>
- To: Jose Antonio Velasco Prieto <velascopja gmail com>, 'yannick inizan' <inizan yannick gmail com>
- Cc: anjuta-list gnome org
- Subject: Re: [anjuta-list] Using statvfs_exec with vala in anjuta
- Date: Thu, 16 Jul 2015 22:12:25 +0200
Hi,
Le 16/07/2015 21:26, Jose Antonio Velasco Prieto a écrit :
if I compile directly
from the command line using valac and the option “--pkg posix” it
compile with no errors.
If you select your program in the project pane an click on
Project->Property, you get a dialog where you should be able to add
various options, including options to the Vala compilateur. You can try
to add -pkg posix here.
if I manually add the file
‘posix.vapi’ to the libraries used by the project (via Project Options,
Code Generation, Libraries) then it also compile properly. Is it
possible to add that file to the project in Anjuta? Would it be possible
to select in any way .vapi files to add to the project in Anjuta?
You can perhaps add such file as a source file in Anjuta but I'm really
not sure because it doesn't fit with the way it should be done in an
autotools project.
It looks like something special has to be done for Vala.
For the moment, I think the best option is to add --pkg posix as Vala
compiler option.
Regards,
Sébastien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]