Opencv 3.0 : Compilation error with xfeatures2d : Where is hal.hpp? [closed]
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 ?
that's a new Hardware Abstraction Layer. : https://github.com/Itseez/opencv/tree...
it seems, your main opencv repo and the contrib one are not in sync (the contrib one seems newer).
can you try to update your main opencv repo with:
git pull upstream master
?Thank you, so simple. I have took the main-depot from the self-extracted archive and contrib from Git repo....