Hi
I'm using the orocos_toolchain_ros 2.2.x with ROS cturtle.
I try to set up a component project by using "rosrun ocl orocreate-pkg".
It creates a project but I can't compile it with "make".
eberlid@eberlid-desktop:~/orocos_toolchain_ros/HelloWorld$ make mkdir -p bin cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake .. -- 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 [rosbuild] Building package HelloWorld [rosbuild] Cached build flags older than manifests; calling rospack to get flags [rosbuild] Including /opt/ros/cturtle/ros/core/roslisp/cmake/roslisp.cmake [rosbuild] Including /opt/ros/cturtle/ros/core/rospy/cmake/rospy.cmake [rosbuild] Including /opt/ros/cturtle/ros/core/roscpp/cmake/roscpp.cmake Orocos-RTT found in /home/eberlid/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/orocos-rtt-gnulinux-libraries.cmake -- Found orocos-rtt 2.2.1 for the gnulinux target. Available transports: mqueue Building component HelloWorld in library HelloWorld-gnulinux Generating typekit for HelloWorld... CMake Error at /home/eberlid/orocos_toolchain_ros/rtt/install/lib/cmake/orocos-rtt/UseOROCOS-RTT.cmake:245 (message): 'typegen' not found in path. Can't build typekit. Did you 'source env.sh' ? Call Stack (most recent call first): CMakeLists.txt:55 (orocos_typegen_headers) -- Configuring incomplete, errors occurred! make: *** [all] Error 1
The env.sh file is included in the .bashrc file with
source ~/orocos_toolchain_ros/env.sh
and this file has the content
export RUBYLIB=`rospack find utilrb`/build/orocos-toolchain-utilrb/lib:`rospack find orogen`/build/orocos-toolchain-orogen/lib:`rospack find typelib`/build/orocos-toolchain-typelib/bindings/ruby/lib:`rospack find typelib`/lib export GEM_HOME=`rosstack find orocos_toolchain_ros`/.gems export RUBYOPT=-rubygems export PATH=`rospack find orogen`/build/orocos-toolchain-orogen/bin:`rosstack find orocos_toolchain_ros`/.gems/bin:$PATH export TYPELIB_USE_GCCXML=1
How can I make it find the typegen? What may cause this problem?
Thanks
Dani
orocreate-pkg: compile error (typegen not found)
On 07 Apr 2011, at 14:04, Daniel Eberli wrote:
> Hi
>
> I'm using the orocos_toolchain_ros 2.2.x with ROS cturtle.
>
> I try to set up a component project by using "rosrun ocl orocreate-pkg".
> It creates a project but I can't compile it with "make".
>
>
>
> The env.sh file is included in the .bashrc file with
>
>
>
> and this file has the content
>
>
>
> How can I make it find the typegen? What may cause this problem?
>
Can you check if typegen is actually located in one directories listed in the PATH variable?
--- Ruben
> Thanks
> Dani
orocreate-pkg: compile error (typegen not found)
typegen is located at
and the content of the path variable is
so it isn't listed in the PATH. I listed it in the .bashrc and tried again. Now the error is
can you help me with this error? Thanks! dani
orocreate-pkg: compile error (typegen not found)
This is the content of the CMakeLists.txt