opencv cmake warning meanings: CMakeLists.txt:1066 (include)

后端 未结 1 2005
陌清茗
陌清茗 2021-01-25 16:23

I am now building from source the opencv4.1.0 with cmake3.13. The cmake configuration gives a warning message saying:

CMake Warning at          


        
相关标签:
1条回答
  • 2021-01-25 16:41

    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")
    

    It seems like you have set your Python path wrong

    0 讨论(0)
提交回复
热议问题