I tried to compile opencv 3.0 beta with xfeatures2d module and CUDA 7.0. I had this module in module directory (because cmake failed if I use the variable OPENCV_EXTRA_MODULES_PATH)
I had these errors in Visual Studio 2012 :
1>F:\USER\Downloads\opencv-3.0.0-beta\opencv\sources\modules\xfeatures2d\src\sift.cpp(340): error C2653: 'hal' : is not a class or namespace name
1>F:\USER\Downloads\opencv-3.0.0-beta\opencv\sources\modules\xfeatures2d\src\sift.cpp(341): error C2653: 'hal' : is not a class or namespace name
1>F:\USER\Downloads\opencv-3.0.0-beta\opencv\sources\modules\xfeatures2d\src\sift.cpp(342): error C2653: 'hal' : is not a class or namespace name
1>F:\USER\Downloads\opencv-3.0.0-beta\opencv\sources\modules\xfeatures2d\src\sift.cpp(623): error C2653: 'hal' : is not a class or namespace name
1>F:\USER\Downloads\opencv-3.0.0-beta\opencv\sources\modules\xfeatures2d\src\sift.cpp(624): error C2653: 'hal' : is not a class or namespace name
1>F:\USER\Downloads\opencv-3.0.0-beta\opencv\sources\modules\xfeatures2d\src\sift.cpp(625): error C2653: 'hal' : is not a class or namespace name
Then I tried to find hal/hal.hpp, but no file...
SOme one had compiled opencv 3.0 with CUDA and contrib module? Or some one know some thing about this module that I can't find : hal ?