Compiling opencv samples: unknown cmake command ocv_check_dependencies

后端 未结 8 1135
余生分开走
余生分开走 2020-12-06 02:05

I am trying to build the OpenCV samples which come with the source package and I get the following:

CMake Error at CMakeLists.txt:10 (ocv_check_dependencies)         


        
8条回答
  •  孤街浪徒
    2020-12-06 02:30

    Actually for OpenCV 2.4.4 beta the root CMakeList.txt file says:

    OCV_OPTION(BUILD_EXAMPLES "Build all examples"

    -DBUILD_EXAMPLES=ON worked just fine for me.

提交回复
热议问题