On 10/02/2014 10:20 AM, Hasret Sarıyer wrote:
> 2014-10-02 4:49 GMT+03:00 Lennart Sorensen <[email protected]>:
>
>> On Wed, Oct 01, 2014 at 11:56:47PM +0200, Gilles Chanteperdrix wrote:
>>> Why is is unfortunate, if I may ask? It also depends on how you run the
>>> configure script, you get includes in /usr/include/xenomai if you passed
>>> --includedir=/usr/include/xenomai
>>
>> Well only unfortunate in that you can't compile without adding to the
>> include path with the path the xenomai headers use internally.
>>
>> Quite common of course for many libraries.
>
>
> @Lennart, I am grateful to you for your help.When I added
> -I/usr/include/xenomai
> to my compile line , the compilation was nice.
>
As Lennart said, if you take the time to read his first answer
completely, you should use pkg-config (or xeno-config) to obtain the
compilation flags, and not hardcode them.
--
Gilles.
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai