cvar-upm / aerostack

Software framework for aerial robotic systems
Other
154 stars 43 forks source link

Fix for error containing Eigen/Geometry..., file not found, when executing catkin_make #47

Closed pasanci closed 5 years ago

pasanci commented 5 years ago

Fix: Go to the folder where the file not found error is happening and modify "CMakeLists.txt" file: Look for "find_package(catkin REQUIRED COMPONENTS" and add a line with "cmake_modules" , and right below "find_package(catkin REQUIRED COMPONENTS ...)" add:

"find_package(Eigen REQUIRED) include_directories(SYSTEM ${Boost_INCLUDE_DIR} ${EIGEN_INCLUDE_DIRS})"

This part of your file should look something like this (without the ""):

" find_package(catkin REQUIRED COMPONENTS roscpp nodelet std_msgs behavior_execution_controller geometry_msgs aerostack_msgs angles lib_pugixml cmake_modules )

find_package(Eigen REQUIRED) include_directories(SYSTEM ${Boost_INCLUDE_DIR} ${EIGEN_INCLUDE_DIRS}) "