c++ - 将 OpenBLAS 包含和库搜索路径链接到 CMake for OpenCV
问题描述
我正在尝试遵循本教程:https ://github.com/opencv/opencv/issues/12957
因为我遇到的问题是
found Intel IPP (ICV version): 2019.0.0 [2019.0.0 Gold]
at: C:/Dev/opencv/3rdparty/ippicv/ippicv_win/icv
found Intel IPP Integration Wrappers sources: 2019.0.0
at: C:/Dev/opencv/3rdparty/ippicv/ippicv_win/iw
Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
Could NOT find BLAS (missing: BLAS_LIBRARIES)
LAPACK requires BLAS
A library with LAPACK API not found. Please specify library location.
VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
CMake Error at cmake/OpenCVModule.cmake:289 (message):
No modules has been found: C:/Dev/opencv/Downloads/opencv_contrib-4.1.2
Call Stack (most recent call first):
cmake/OpenCVModule.cmake:371 (_glob_locations)
modules/CMakeLists.txt:7 (ocv_glob_modules)
但即使在 CMake 中链接它之后,我也会遇到错误。
我为他们的 github 克隆了 OpenBLAS 并将其放在列出的目录中,然后我下载了 lapacke.dll 并将其移动到具有相同文件路径的 OpenBLAS 文件夹中。
但是,我没有看到 OpenBLAS 文件夹中的任何 include 或 lib 文件夹。
解决方案
推荐阅读
- flutter - 输入'未来
' 不是类型 'List 的子类型 - reactjs - 为什么反应改变只读道具值?
- vue.js - Vue:确保组件不能修改 props(即使是引用对象)?
- laravel - 导航栏浏览器中的 Laravel 动态帖子标题
- excel - 如何在 excel 或 google 表格上加入两个列表
- rust - 是否存在显式类型归属比使用 turbofish 运算符更简洁的情况?
- unity3d - 是否可以在 Unity 或其他 smt 中以自然方式为任何东西制作动画?
- javascript - 为什么我的程序在填写一个输入时只输出正确的数字,但如果填写了另一个输入,则输出不正确的结果?
- python - Pandas Dataframe API 中的 API 调用
- amazon-web-services - aws athena 命令在 ec2 上不起作用 - 单引号给出错误