首页 > 其他分享 >[cmake wrong]wsl opencv

[cmake wrong]wsl opencv

时间:2022-09-27 23:58:12浏览次数:56  
标签:cmake package -- opencv wrong build OpenCV

[root@DESKTOP-31LJ6LM ~/g101/h1/build]
$ cmake ..
-- OpenCV ARCH:
-- OpenCV RUNTIME:
-- OpenCV STATIC: OFF
CMake Warning at /mnt/e/DevelopeTools/opencv/opencv/build/OpenCVConfig.cmake:190 (message):
  Found OpenCV Windows Pack but it has no binaries compatible with your
  configuration.

  You should manually point CMake variable OpenCV_DIR to your build of OpenCV
  library.
Call Stack (most recent call first):
  CMakeLists.txt:4 (find_package)


CMake Error at CMakeLists.txt:4 (find_package):
  Found package configuration file:

    /mnt/e/DevelopeTools/opencv/opencv/build/OpenCVConfig.cmake

  but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
  NOT FOUND.


-- Configuring incomplete, errors occurred!
See also "/root/g101/h1/build/CMakeFiles/CMakeOutput.log".

标签:cmake,package,--,opencv,wrong,build,OpenCV
From: https://www.cnblogs.com/Knight02/p/16736474.html

相关文章

  • Python cv2(Opencv) Canny边缘检测 和 傅里叶变换
    OpenCV是一个基于Apache2.0许可(开源)发行的跨平台计算机视觉和机器学习软件库,可以运行在Linux、Windows、Android和MacOS操作系统上。它轻量级而且高效,由一系列C函数和少......
  • 关于python的opencv库的学习笔记,腐蚀与膨胀
    importcv2importnumpyasnp##img=cv2.imread('cat.jpeg')##cv2.imshow('cat',img)##cv2.waitKey()##cv2.destroyAllWindows()##对图像进行腐蚀操作#ken=np.ones......
  • opencv学习笔记,关于图片的平滑处理
    在opencv的图像平滑处理,有高斯滤波,中值滤波,均值滤波的处理方法importcv2importnumpyasapimportmatplotlib.pyplotaspltimg=cv2.imread('cat.jpeg')cv2.imshow('cat......
  • opencv-API
    基本操作图像IO操作的API:cv.imread():读取图像cv.imshow():显示图像cv.imwrite():保存图像在图像上绘制几何图像cv.line():绘制直线cv.circle():......
  • Cmake安装
    进入Cmake官网根据自己需要选择安装包下载后双击安装进入安装界面,点击【Next】同意协议,点击【Next】将Cmake添加进用户变量点击【Next注意:选择......
  • vscode + mingw + cmake
    安装cmake-3.24.2-windows-x86_64.msi勾选添加到环境变量勾选CreateCmakeDesktopIcon需要安装mingw-get-setup.exe在windows中cmake..替换成cmake-G"M......
  • CMake使用指南
    单文件编译添加版本号project(xxxVERSION0.1.0)指定C++版本set(CMAKE_CXX_STANDARD11)set(CMAKE_CXX_STANDARD_REQUIREDTrue)多文件编译将所有头文件放到Inc......
  • OpenCV CMake windows下 C++ OpenCV配置及x86编译(傻瓜式教程)
    本傻瓜教程需要的环境如下:IDE:vs2015或vs2017, windows10或11关于vs的版本,个人觉得不管是社区版个人版还是企业版,对于我们工作学习的个人来说都一样,......
  • CMAKE的学习
    下面我们来介绍CmakeCmake我们着重介绍一下CMAKE,是因为CMAKE现在用的人比MAKEFILE多一些,也更好理解,编写一些。1安装cmake1.1卸载已经安装的旧版的CMAKE【非必需】a......
  • opencv公式1
     CV::DIVIDE()voidcv::divide( cv::InputArraysrc1,//输入数组1(分子) cv::InputArraysrc2,//输入数组1(分母) cv::OutputArraydst,//输出数组(scale......