当前位置:   article > 正文

By not providing “FindOpenCV.cmake“ in CMAKE_MODULE_PATH this project has asked CMake to find a pack_by not providing "findopencv.cmake" in cmake_modul

by not providing "findopencv.cmake" in cmake_module_path this project has as

1. 错误描述

CMake Error at CMakeLists.txt:10 (find_package):
By not providing “FindOpenCV.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “OpenCV”, but
CMake did not find one.

2. 错误分析

应该是再编译opencv项目时找不到opencvsdk的目录

3. 解决方案

去官方网站下载对应的opensdk,然后再cmake或ndk文件中设置opencv的路径;

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/292966
推荐阅读
相关标签
  

闽ICP备14008679号