Compiling opencv samples: unknown cmake command ocv_check_dependencies

后端 未结 8 1138
余生分开走
余生分开走 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:23

    Following steps works for me.

    Export toolchain path.

    cd opencv-3.3.0/samples

    cross_cmake && cross_make

    cd opencv-3.3.0/samples/cpp/

提交回复
热议问题