opencv cmake 警告含义:CMakeLists.txt:1066(包括) [英] opencv cmake warning meanings: CMakeLists.txt:1066 (include)
本文介绍了opencv cmake 警告含义:CMakeLists.txt:1066(包括)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我现在正在使用 cmake3.13
从源代码构建 opencv4.1.0
.cmake 配置给出了一条警告消息说:
I am now building from source the opencv4.1.0
with cmake3.13
. The cmake configuration gives a warning message saying:
CMake Warning at cmake/OpenCVGenSetupVars.cmake:54 (message):
CONFIGURATION IS NOT SUPPORTED: validate setupvars script in install
directory
Call Stack (most recent call first):
CMakeLists.txt:1066 (include)
这个警告是什么意思?在开始构建过程时是否需要仔细解决这个问题?
What does this warning mean? Does that need be carefully addressed for starting the building process?
推荐答案
检查文件cmake/OpenCVGenSetupVars.cmake
check the file cmake/OpenCVGenSetupVars.cmake
if(DEFINED __python_path)
if(IS_ABSOLUTE "${__python_path}")
set(OPENCV_PYTHON_DIR_RELATIVE_CMAKECONFIG "${__python_path}")
message(WARNING "CONFIGURATION IS NOT SUPPORTED: validate setupvars script in install directory")
您的 Python 路径似乎设置错误
It seems like you have set your Python path wrong
这篇关于opencv cmake 警告含义:CMakeLists.txt:1066(包括)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文