Error during building custom opencv
Hello everyone,
I am installing latest opencv from git with xfeatures2d and during building i got these errors
24>C:\OpenCV\opencv3\sources\modules\stitching\include\opencv2/stitching/detail/matchers.hpp(52): fatal error C1083: Cannot open include file: 'opencv2/xfeatures2d/cuda.hpp': No such file or directory (C:\OpenCV\opencv3\sources\modules\stitching\perf\perf_main.cpp)
24>C:\OpenCV\opencv3\sources\modules\stitching\include\opencv2/stitching/detail/matchers.hpp(52): fatal error C1083: Cannot open include file: 'opencv2/xfeatures2d/cuda.hpp': No such file or directory (C:\OpenCV\opencv3\sources\modules\stitching\perf\opencl\perf_stitch.cpp)
24>C:\OpenCV\opencv3\sources\modules\stitching\include\opencv2/stitching/detail/matchers.hpp(52): fatal error C1083: Cannot open include file: 'opencv2/xfeatures2d/cuda.hpp': No such file or directory (C:\OpenCV\opencv3\sources\modules\stitching\perf\perf_stich.cpp)
24>C:\OpenCV\opencv3\sources\modules\stitching\include\opencv2/stitching/detail/matchers.hpp(52): fatal error C1083: Cannot open include file: 'opencv2/xfeatures2d/cuda.hpp': No such file or directory (C:\OpenCV\opencv3\sources\modules\stitching\perf\opencl\perf_warpers.cpp)
35>C:\OpenCV\opencv3\sources\modules\stitching\include\opencv2/stitching/detail/matchers.hpp(52): fatal error C1083: Cannot open include file: 'opencv2/xfeatures2d/cuda.hpp': No such file or directory (C:\OpenCV\opencv3\sources\modules\stitching\test\test_blenders.cpp)
35>C:\OpenCV\opencv3\sources\modules\stitching\include\opencv2/stitching/detail/matchers.hpp(52): fatal error C1083: Cannot open include file: 'opencv2/xfeatures2d/cuda.hpp': No such file or directory (C:\OpenCV\opencv3\sources\modules\stitching\test\test_main.cpp)
35>C:\OpenCV\opencv3\sources\modules\stitching\include\opencv2/stitching/detail/matchers.hpp(52): fatal error C1083: Cannot open include file: 'opencv2/xfeatures2d/cuda.hpp': No such file or directory (C:\OpenCV\opencv3\sources\modules\stitching\test\ocl\test_warpers.cpp)
35>C:\OpenCV\opencv3\sources\modules\stitching\include\opencv2/stitching/detail/matchers.hpp(52): fatal error C1083: Cannot open include file: 'opencv2/xfeatures2d/cuda.hpp': No such file or directory (C:\OpenCV\opencv3\sources\modules\stitching\test\test_matchers.cpp)
I'm using VS 2013, Win7 and CMake 3.3.1
Thanks
i can't see any hint leading to https://github.com/Itseez/opencv_contrib . you'll need to dl this, and add it to your main cmake settings as described in the readme there.
I forgot to mention that, but yes i downloaded opencv_contrib and followed the readme