I'm trying to build OpenCV with OpenCV-contrib. My system is:
Windows 10 Pro Insider Build 14965
Visual Studio 2013 Community Edition Update 4
CMake 3.7.0
I've downloaded the 3.1.0 release versions of opencv and opencv-contrib, unzipped them and run CMake-GUI. I've set the build directory away from the source directory and set OPENCV_EXTRA_MODULES_PATH to ..../opencv_contrib-3.1.0/modules, as well as pointing the various PYTHON3 settings to my python installation.
Building opencv_bioinspired fails with the following error:
1>CustomBuild:
1> Building Custom Rule C:/Users/tomkc/build/opencv/sources/opencv_contrib-3.1.0/modules/bioinspired/CMakeLists.txt
1> CMake does not need to re-run because C:\Users\tomkc\build\opencv\build\modules\bioinspired\CMakeFiles\generate.stamp is up-to-date.
1> Generating opencl_kernels_bioinspired.cpp, opencl_kernels_bioinspired.hpp
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code -1073741571.
I've tried switching off WITH_OPENCL* and also tried Visual Studio 2015, both with the same result.
Is this a known problem? Can anyone suggest a workaround?
↧