Could not find a configuration file for package opencv2解决 方法
来源:互联网 发布:什么叫软件开发 编辑:程序博客网 时间:2024/06/06 14:03
Remove OpenCv Opencv2 etc. from your run and build depends (in package.xml) as well as from the line find_package( catkin REQUIRED COMPONENTS .... (in CMakeLists.txt)
With catkin in groovy/hydro OpenCV is always embedded as stand-alone package using:
find_package( OpenCV REQUIRED )
(Note than I've added the REQUIRED)
Note that you have also to add OpenCV include directories like
include_directories( ${catkin_INCLUDE_DIRS} ${OpenCV_INCLUDE_DIRS} )
and for each of your execs/libs you created as target like
add_executable( my_exec my_cpp_file.cpp )
you need to link against both catkin and OpenCV libs:
target_link_libraries ( my_exec ${OpenCV_LIBRARIES} ${catkin_LIBRARIES} )
0 0
- Could not find a configuration file for package opencv2解决 方法
- tufao安装过程中Could not find a package configuration file provided by "Qt5Core"解决办法
- could not find a getter for in class方法解决
- 解决:Could not find debuginfo pkg for dependency package glibc-2.12-1.132.el6_5.3.i686
- Could not find qmake configuration file linux-g++.
- Mysql5.6启动报错, [ERROR] InnoDB: Could not find a valid tablespace file for 'pa
- 解决Could not publish server configuration for Tomcat v7.0 Server at localhost.的方法
- Could not resolve all files for configuration ':classpath'.Could not find com.android.tools.
- Could not resolve all dependencies for configuration ':classpath'. Could not find com.android.t
- lib_clapack.a(dlasyf.o): could not read symbols: File in wrong format---- 交叉编译opencv2.0遇到的错误解决
- 【已解决】could not resolve all dependencies for configuration ':claapath'
- could not find a getter for ... in class ... 异常的解决
- Debug:SSH继承时 could not find a getter for ... in class ... 异常的解决
- could not find a getter for ... in class ... 异常的解决
- could not find a getter for ... in class ... 异常的解决
- Qt for Android - Internal Error: Could not find .pro file
- [ERROR] InnoDB: Could not find a valid tablespace file
- 解决error[22,0]Could not find method android() for arguments的方法
- Hadoop添加节点的方法
- 1020. 月饼 (25)
- Android 关于背景图片的透明度问题
- 编程实现:输入n个数,在这n个数中查找某个数
- 运营商数据治理实践-郭岳
- Could not find a configuration file for package opencv2解决 方法
- 从int 3探索Windows应用程序调试原理
- leetcode | Roman to Integer
- WPF多线程刷新界面控件1
- 还原网站上压缩的js代码
- Java的内存机制
- JS绘制数学函数图
- 开发日记(2)drawable和bitmap和byte[]的相互转换
- maven 添加自己的包到本地仓库及到项目中