OpenCV build issue on Windows 10 platform

asked 2018-04-23 18:56:52 -0600

sri821 gravatar image

I am seeing "CMakeLists.txt" not found for opencv_core module while building OpenCV 3.4 / 3.2 platforms.

CMake version - 3.10 Visual Studio - 2017 OS - Windows 10 Home edition

Severity Code Description Project File Line Suppression State Error The source directory "XXXX\opencv-3.2.0/build/modules/core" does not appear to contain CMakeLists.txt. opencv_core XXXX\build\modules\core\CUSTOMBUILD 1

Can you please let me know if you have seen this issue before?

Thank you, Sri

edit retag flag offensive close merge delete

Comments

the last arg to cmake should point at the opencv src(root) folder. you somehow missed it.

berak gravatar imageberak ( 2018-04-24 01:08:21 -0600 )edit

@berak While generating CMake build files from build directory, I pointed CMAKE to opencv root directory file as below.

cmake mydir/opencv-3.2.0/opencv-3.2.0

the above directory has modules, docs etc

Just to confirm, are suggesting to point into cmake mydir/opencv-3.2.0 ?

sri821 gravatar imagesri821 ( 2018-04-24 14:03:58 -0600 )edit