[ros-users] compiling openni_camera missing Eigen/core?

brian Corwin brian.k.corwin at gmail.com
Sun Feb 13 15:51:06 UTC 2011


Hi all, I am attempting to install the NI driver over unstable.  I have
followed the instructions carefully and have managed to squash a number of
bugs along the way, but I can't find my way past this one.

I have everything ready as per the instructions and run the rosmake ni
--rosdep-install and it goes fine until it reaches this

[rosmake-0] Starting >>> openni_camera [ make
]
[ rosmake ] Last 40 linesenni_camera: 7.1 sec ]      [ 1 Active 54/66
Complete ]
{-------------------------------------------------------------------------------
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find
rosbuild`/rostoolchain.cmake  ..
  [rosbuild] Building package openni_camera
  [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] Found SSE2 extensions, using flags: -msse2 -mfpmath=sse
  MSG: gencfg_cpp on:OpenNI.cfg
  Finding dependencies for /home/bchinn/ni/ni/openni_camera/cfg/OpenNI.cfg
  -- Configuring done
  -- Generating done
  -- Build files have been written to:
/home/bchinn/ni/ni/openni_camera/build
  cd build && make -l1
  make[1]: Entering directory `/home/bchinn/ni/ni/openni_camera/build'
  make[2]: Entering directory `/home/bchinn/ni/ni/openni_camera/build'
  make[3]: Entering directory `/home/bchinn/ni/ni/openni_camera/build'
  make[3]: Leaving directory `/home/bchinn/ni/ni/openni_camera/build'
  [ 25%] Built target ROSBUILD_gencfg_cpp
  make[3]: Entering directory `/home/bchinn/ni/ni/openni_camera/build'
  make[3]: Leaving directory `/home/bchinn/ni/ni/openni_camera/build'
  [ 25%] Built target rospack_gencfg
  make[3]: Entering directory `/home/bchinn/ni/ni/openni_camera/build'
  make[3]: Leaving directory `/home/bchinn/ni/ni/openni_camera/build'
  [ 25%] Built target rospack_genmsg_libexe
  make[3]: Entering directory `/home/bchinn/ni/ni/openni_camera/build'
  make[3]: Leaving directory `/home/bchinn/ni/ni/openni_camera/build'
  [ 25%] Built target rosbuild_precompile
  make[3]: Entering directory `/home/bchinn/ni/ni/openni_camera/build'
  make[3]: Leaving directory `/home/bchinn/ni/ni/openni_camera/build'
  make[3]: Entering directory `/home/bchinn/ni/ni/openni_camera/build'
  [ 50%] Building CXX object
CMakeFiles/openni_driver.dir/src/openni_driver.o
  In file included from
/home/bchinn/ni/ni/openni_camera/src/openni_driver.cpp:43:
  /home/bchinn/ni/ni/openni_camera/include/openni_camera/openni.h:45: fatal
error: Eigen/Core: No such file or directory
  compilation terminated.


It cannot seem to find Eigen/core yet I know I have it installed and can see
it is lcoated in /usr/include/eigen2/Eigen.

How can I get rosmake to see my Eigen/core?  Or is there another problem I
need to address?

thanks much
Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20110213/06e69a99/attachment-0002.html>


More information about the ros-users mailing list