我现在正在使用opencv4.1.0
从源头构建cmake3.13
。 cmake配置会给出警告消息,提示:
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)
此警告是什么意思?启动构建过程是否需要认真解决?
答案 0 :(得分:1)
检查文件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路径设置为错误