Error building Opencv 3.2 with CMake 3.9.0 (Visual Studio 2015)

asked 2017-08-04 03:52:43 -0500

Ziri gravatar image

Hello ,

Thank you in advance.

I am trying to build Opencv 3.2 source using latest CMake version following Opencv documentation but I am getting the following errors after configuring.

1)

CMake Error at CMakeLists.txt:13 (include): include could not find load file:

cmake/OpenCVMinDepVersions.cmake

2)

CMake Error at CMakeLists.txt:91 (include): include could not find load file:

cmake/OpenCVUtils.cmake

3)

CMake Error at CMakeLists.txt:94 (ocv_update):

Unknown CMake command "ocv_update".

edit retag flag offensive close merge delete

Comments

Have you clone opencv ? where did you build opencv ?

LBerger gravatar imageLBerger ( 2017-08-04 04:28:19 -0500 )edit

I downloaded source code from : https://github.com/opencv/opencv/rele... and I am trying to build in windows that's why I am using CMake.

Thank you.

Ziri gravatar imageZiri ( 2017-08-06 04:25:57 -0500 )edit
1

You must clone opencv :

git clone https://github.com/opencv/opencv.git

and run cmake using gui

LBerger gravatar imageLBerger ( 2017-08-06 07:22:46 -0500 )edit

I was building Opencv & TBB but the path to TBB lib was wrong.

I finally solved it.

Thank you.

Ziri gravatar imageZiri ( 2017-08-09 03:12:07 -0500 )edit