ros indigo版本需要手动安装opencv3
sudo apt-get install ros-indigo-opencv3
但在编译whycon时,出现错误
CMake Error in whycon/CMakeLists.txt:
Imported target "opencv_xphoto" includes non-existent path
"/usr/include/opencv-3.1.0-dev/opencv"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
CMake Error in whycon/CMakeLists.txt:
Imported target "opencv_xphoto" includes non-existent path
"/usr/include/opencv-3.1.0-dev/opencv"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation pac

针对ros indigo版本中opencv3手动安装的问题,需要修改OpenCVConfig.cmake文件。具体操作是修复/opt/ros/indigo/share/OpenCV-3.1.0-dev路径,确保正确引用。参考相关链接可获取更多解决细节。
最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



