Re: [anjuta-list] Using statvfs_exec with vala in anjuta



Thanks a lot to you both for answering. I don’t know if this information would be helpful in order to solve the issue, but if I compile directly from the command line using valac and the option “--pkg posix” it compile with no errors.

 

Also I’ve tried MonoDevelop and I’ve seen that posix isn’t also between the packages you can add to the project, but 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? I have .vapi files in two places in my elementaryOS:

·       /usr/share/vala/vapi/

·       /usr/share/vala-0.30/vapi/

 

Best regards.

 

De: yannick inizan [mailto:inizan yannick gmail com]
Enviado el: jueves, 16 de julio de 2015 20:13
Para: Sébastien Granjoux
CC: Jose Antonio Velasco Prieto; anjuta-list gnome org
Asunto: Re: [anjuta-list] Using statvfs_exec with vala in anjuta

 

posix like linux are virtual packages. no .pc files for this packages. 

 

2015-07-16 19:58 GMT+02:00 Sébastien Granjoux <seb sfo free fr>:

Hi,


Le 15/07/2015 15:19, Jose Antonio Velasco Prieto a écrit :

First of all sorry if this isn’t the way to post in the list but I’m an
absolutely newbie to the lists, to linux, to vala and to anjuta.


Don't worry, this mailing list is done for that.

The namespace name `Posix' could not be found’. I tried
to add a library to my project (via Project->Add Library…->New Library…)
but I wasn’t able to find any Posix library in the list. Am I missing
anything? Am I doing anything (or maybe everything) wrong?


I don't know vala so I don't know how to solve your problem.

The list of available library is generated from the list of libraries using pkgconfig installed on your system. Most libraries on Linux use pkgconfig, I don't know if it's the case for the Vala Posix library. If yes, it could be possible that this library is not installed. In this case, you need to install the corresponding package, its name probably includes vala and/or posix and should end with -dev or -devel prefix.


Regards,

Sébastien
_______________________________________________
anjuta-list mailing list
anjuta-list gnome org
https://mail.gnome.org/mailman/listinfo/anjuta-list

 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]