Error during building custom opencv

asked 2015-08-18 10:07:42 -0500

Shuter gravatar image

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

edit retag flag offensive close merge delete

Comments

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.

berak gravatar imageberak ( 2015-08-18 10:15:10 -0500 )edit

I forgot to mention that, but yes i downloaded opencv_contrib and followed the readme

Shuter gravatar imageShuter ( 2015-08-18 10:44:56 -0500 )edit