小编sma*_*nan的帖子

在ROS Indigo中使用特征库

我正在开发一个需要使用Eigen库的ROS Indigo项目.根据ROS Wiki上的indigo/Migration页面,FindEigen.cmake模块现在位于cmake_modules包中.

按照以下步骤将cmake_modules包添加到项目的CMake.txt(通过find_package)并将构建依赖项添加到package.xml(< build_depend >cmake_modules< /build_depend >)之后,我仍然遇到编译项目的问题.我已经看过各种来源,引用上述步骤应该解决ROS Indigo中的问题,但似乎无法使其正常工作.这是CMake文件,这是package.xml.另外,我在项目文件夹中添加了FindEigen.cmake文件.任何帮助将不胜感激!错误如下:

CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
Could not find a package configuration file provided by "Eigen" with any of the 
following names:
  EigenConfig.cmake
  eigen-config.cmake

Add the installation prefix of "Eigen" to CMAKE_PREFIX_PATH or set
"Eigen_DIR" to a directory containing one of the above files.  If "Eigen"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
lidar_point_cloud/CMakeLists.txt:9 …
Run Code Online (Sandbox Code Playgroud)

cmake eigen ros

7
推荐指数
2
解决办法
1万
查看次数

标签 统计

cmake ×1

eigen ×1

ros ×1