[ros-users] Error from first rosmake of tod_sub

oliver olipark at gmx.de
Fri Feb 11 15:29:43 UTC 2011


Hi all,

I've downloaded stacks "object_recognition" and
object_recognition_experiment" to execute a package "tod_sub".

After rosmake an error comes up such as...

"Eigen2 support must be enabled by defining EIGEN2_SUPPORT before including
any Eigen header"

I think it comes during compiling the package "tod_training".

Can anyone help me to fix this problem?

My ROS is unstable version and it runs under Ubuntu 10.10 maverick.

Cheers
Oli


The compile massage is...
======================================================================

[ rosmake ] All 39 linescl_ros: 4.7 sec ] [ tod_training: 4.7 sec ]                   
[ 2 Active 55/58 Complete ]
{-------------------------------------------------------------------------------
  mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find
rosbuild`/rostoolchain.cmake  ..
  [rosbuild] Building package tod_training
  [rosbuild] Including
/opt/ros/unstable/stacks/ros_comm/clients/roslisp/cmake/roslisp.cmake
  [rosbuild] Including
/opt/ros/unstable/stacks/ros_comm/clients/rospy/cmake/rospy.cmake
  [rosbuild] Including
/opt/ros/unstable/stacks/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
  [rosbuild] Including
/opt/ros/unstable/stacks/client_rosjava/rosjava/cmake/rosjava.cmake
  -- Java version 1.6.0.20 configured successfully!
  -- Configuring done
  -- Generating done
  -- Build files have been written to:
/home/corsair/programs/ros_overlays/object_recognition/tod_training/build
  cd build && make -l4
  make[1]: Entering directory
`/home/corsair/programs/ros_overlays/object_recognition/tod_training/build'
  make[2]: Entering directory
`/home/corsair/programs/ros_overlays/object_recognition/tod_training/build'
  make[3]: Entering directory
`/home/corsair/programs/ros_overlays/object_recognition/tod_training/build'
  make[3]: Leaving directory
`/home/corsair/programs/ros_overlays/object_recognition/tod_training/build'
  [  0%] Built target rospack_genmsg_libexe
  make[3]: Entering directory
`/home/corsair/programs/ros_overlays/object_recognition/tod_training/build'
  make[3]: Leaving directory
`/home/corsair/programs/ros_overlays/object_recognition/tod_training/build'
  [  0%] Built target rosbuild_precompile
  make[3]: Entering directory
`/home/corsair/programs/ros_overlays/object_recognition/tod_training/build'
  make[3]: Leaving directory
`/home/corsair/programs/ros_overlays/object_recognition/tod_training/build'
  make[3]: Entering directory
`/home/corsair/programs/ros_overlays/object_recognition/tod_training/build'
  [  5%] Building CXX object CMakeFiles/tod_training_ros.dir/src/ros/msgs.o
  In file included from
/opt/ros/unstable/stacks/geometry/eigen3/include/Eigen3/Core:337,
                   from
/opt/ros/unstable/stacks/geometry/eigen3/include/Eigen3/StdVector:29,
                   from
/home/corsair/programs/ros_overlays/perception_pcl/pcl/include/pcl/pcl_base.h:41,
                   from
/home/corsair/programs/ros_overlays/perception_pcl/pcl/include/pcl/io/io.h:43,
                   from
/home/corsair/programs/ros_overlays/perception_pcl/pcl/include/pcl/io/pcd_io.h:41,
                   from
/home/corsair/programs/ros_overlays/object_recognition/tod_training/include/tod/training/ros/msgs.h:14,
                   from
/home/corsair/programs/ros_overlays/object_recognition/tod_training/src/ros/msgs.cpp:1:
  /opt/ros/unstable/stacks/geometry/eigen3/include/Eigen3/Eigen2Support:29:
error: #error Eigen2 support must be enabled by defining EIGEN2_SUPPORT
before including any Eigen header
  make[3]: *** [CMakeFiles/tod_training_ros.dir/src/ros/msgs.o] Error 1
  make[3]: Leaving directory
`/home/corsair/programs/ros_overlays/object_recognition/tod_training/build'
  make[2]: *** [CMakeFiles/tod_training_ros.dir/all] Error 2
  make[2]: Leaving directory
`/home/corsair/programs/ros_overlays/object_recognition/tod_training/build'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory
`/home/corsair/programs/ros_overlays/object_recognition/tod_training/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package tod_training written to:
[ rosmake ]   
/home/corsair/.ros/rosmake/rosmake_output-20110211-153626/tod_training/build_output.log
[rosmake-2] Finished <<< tod_training [FAIL] [ 4.56 seconds ]                                                                                        
[ rosmake ] Halting due to failure in package tod_training. 
[ rosmake ] Waiting for other threads to complete.                                      
[rosmake-1] Finished <<< pcl_ros [PASS] [ 7.83 seconds ]                                                                                             
[ rosmake ] Results:                                                                                                                                 
[ rosmake ] Built 57 packages with 1 failures.                                                                                                       
[ rosmake ] Summary output to directory                                                                                                              
[ rosmake ] /home/corsair/.ros/rosmake/rosmake_output-20110211-153626
-- 
View this message in context: http://ros-users.122217.n3.nabble.com/Error-from-first-rosmake-of-tod-sub-tp2474273p2474273.html
Sent from the ROS-Users mailing list archive at Nabble.com.



More information about the ros-users mailing list