error: ‘Isometry3d’ in namespace ‘Eigen’ does not name a type

asked 2022-02-09 17:34:13 -0600

Fares gravatar image

updated 2022-02-13 10:35:10 -0600

Mike Scheutzow gravatar image

I am using ubuntu 20.04.

[ 68%] Building CXX object grid_map/grid_map_ros/CMakeFiles/grid_map_ros.dir/src/GridMapRosConverter.cpp.o
In file included from /opt/ros/noetic/include/grid_map_cv/grid_map_cv.hpp:13,
                 from /home/fares/catkin_ws/src/grid_map/grid_map_ros/src/GridMapRosConverter.cpp:11:
/opt/ros/noetic/include/grid_map_cv/GridMapCvProcessing.hpp:61:74: error: ‘Isometry3d’ in namespace ‘Eigen’ does not name a type; did you mean ‘Isometry’?
   **61 |   static GridMap getTransformedMap(GridMap&& gridMapSource, const Eigen::Isometry3d& transform, const std::string& heightLayerName,
      |                                                                          ^~~~~~~~~~
      |                                                                          Isometry**
make[2]: *** [grid_map/grid_map_ros/CMakeFiles/grid_map_ros.dir/build.make:63: grid_map/grid_map_ros/CMakeFiles/grid_map_ros.dir/src/GridMapRosConverter.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3410: grid_map/grid_map_ros/CMakeFiles/grid_map_ros.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make -j2 -l2" failed
edit retag flag offensive close merge delete

Comments

Begging for help causes people to ignore your question, so I have changed the title of this post. If you are asking about a specific error message, generally you should use that as the title on this site.

Mike Scheutzow gravatar image Mike Scheutzow  ( 2022-02-13 10:37:58 -0600 )edit

Have you installed Eigen dependency prior to using catkin_make:

sudo apt-get install libeigen3-dev

osilva gravatar image osilva  ( 2022-02-13 17:33:15 -0600 )edit