在CMakeList.txt文件中添加:
find_package(Eigen3)
include_directories(
include
${EIGEN3_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
)
在CMakeList.txt文件中添加:
find_package(Eigen3)
include_directories(
include
${EIGEN3_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
)