On Thu, Oct 02, 2014 at 12:27:34AM +0300, agnes jurek wrote: > I tried to write simple code myself using xenomai rtdm module. When I added > " > #include <xenomai/rtdm/rtdm.h>", compilation was ok. But when I added " > #include <xenomai/native/task.h>", I got an error message. It said that > "/usr/include/xenomai/native/task.h:25:27: fatal error: nucleus/sched.h: No > such file or directory > compilation terminated."
Xenomai unfortunately requires you to add /usr/include/xenomai to your includes, which does mean you don't have to put xenomai/ in your #include statements though. # pkg-config --cflags libxenomai_rtdm libxenomai_native -D_GNU_SOURCE -D_REENTRANT -D__XENO__ -I/usr/include/xenomai # pkg-config --libs libxenomai_rtdm libxenomai_native -lrtdm -lnative -lxenomai -lpthread -lrt pkg-config is handy, and worth using. -- Len Sorensen _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
