I am trying to integrate Orocos (orocos_toolchain_ros) and Eclipse (Eclipse IDE for C/C++ Developers, Version: Helios Service Release 2). I read the instructions given in http://www.orocos.org/wiki/rtt/eclipse/another-way-using-eclipse-and-orocos. But when I create my Orocos package (using orocreate-pkg) and then do a 'Makefile Project with Existing Code' in Eclipse I get a make error. The eclipse console reply showing the error is in the lower part or the message.
I don't if the problem is the version of Ubuntu (I use 10.4). The cmakelist and makefile are the ones generated by orocreate-pkg. Apparently the makefile is not entering the 'ifdef ROS_ROOT'.
mkdir -p build
Makefile:7: This Makefile builds this package with default settings
cd build ; cmake .. -DINSTALL_PATH=orocos && make
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at CMakeLists.txt:27 (find_package):
Could not find module FindOROCOS-RTT.cmake or a configuration file for package OROCOS-RTT. Adjust CMAKE_MODULE_PATH to find FindOROCOS-RTT.cmake or set OROCOS-RTT_DIR-- Configuring incomplete, errors occurred!
to the directory containing a CMake configuration file for OROCOS-RTT. The file will have one of the following names: OROCOS-RTTConfig.cmake orocos-rtt-config.cmakeCMake Error at CMakeLists.txt:31 (include):
include could not find load file: /UseOROCOS-RTT.cmakeCMake Error at CMakeLists.txt:45 (orocos_component):
Unknown CMake command "orocos_component".make: *** [all] Error 1