laser geometry and Eigen/Core bug - how to actually fix it ?
Hello !
I've been planning to use PointCloud for processing some laser data from PR2 tilt scan, but when including <laser_geometry/laser_geometry.h>
, I'm the case of Eigen/Core bug (Ubuntu 12.04 / Groovy).
I add a look to the proposed solution which is about modifying the CMakeLists. It seems that the problem has been solved (according to the ticket), but it is still there in my up-to-date groovy laser_geometry package. I don't really understand if I have to make a manual modification (my package is in /opt/ros/groovy/share/laser_geometry and only contains a package.xml and a cmake folder - no CMakeLists.txt) or if I should just reinstall something (from apt-get install, I get that my package is up-to-date). The bug exists also on the real PR2.
Ticket corresponding : https://code.ros.org/trac/ros-pkg/tic...
Thanks for reading, Erwan
EDIT after ahendrix answer :
I'm building packages with catkin.
I depend on the following packages (build_depend tag in package.xml) : roscpp geometry_msgs tf sensor_msgs laser_geometry message_generation
after checking, all packages have at least a cmake folder with *Config.cmake and *Config-version.cmake and a package.xml files. Laser_geometry and message_generation have nothing else, others contains msg and srv folders. In my understanding, there are all catkinized.
I added :
find_package(Eigen REQUIRED)
include_directories(${Eigen_INCLUDE_DIRS})
to my_package/CMakeLists.txt and it's now compiling without error, I'm able to declare a LaserProjector. What I wasn't really understanding with the previous solutions was where to make this fix (as there is no CMakeLists.txt in the laser_geometry package accessible from roscd).
Thanks ahendrix !