Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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