KDL 1.0.1 build failed on Ubuntu 9.04 with Xenomai 2.4.9.1
Submitted by mjaniak on Sat, 2009-10-17 09:45 |
Hi all,
There is an error during compilation src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-xenomai.dir/corbatoolkit.o:
/usr/local/include/rtt/corba/../os/xenomai/fosi.h:78:43: error: xeno_config.h: No such file or directory /usr/local/include/rtt/corba/../os/xenomai/fosi.h:79:25: error: native/task.h: No such file or directory /usr/local/include/rtt/corba/../os/xenomai/fosi.h:80:26: error: native/timer.h: No such file or directory /usr/local/include/rtt/corba/../os/xenomai/fosi.h:81:26: error: native/mutex.h: No such file or directory /usr/local/include/rtt/corba/../os/xenomai/fosi.h:82:24: error: native/sem.h: No such file or directory
There is missing include dir:
-I/usr/include/xenomai
Probably, this is cmake configuration problem.
Workaround:
In file
kdl-1.0.1/build/src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-xenomai.dir/build.make,
in line below
src/bindings/rtt/corba/CMakeFiles/orocos-kdltk-corba-xenomai.dir/corbatoolkit.o: ../src/bindings/rtt/corba/corbatoolkit.cpp
add to
$(CXX_DEFINES) $(CXX_FLAGS) -O2 -DNDEBUG -DOROCOS_TARGET=xenomai -I/usr -I/usr -I/usr/include/orbsvcs -D_REENTRANT -DOROCOS_TARGET=xenomai -I/usr/include/eigen2 -o CMakeFiles/orocos-kdltk-corba-xenomai.dir/corbatoolkit.o -c /worek/kdl-1.0.1/src/bindings/rtt/corba/corbatoolkit.cpp
additional include dir
-I/usr/include/xenomai
Mariusz.