Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Not able to install xfeatures2d (with opencv_contrib)

Hello,

I have a problem building OpenCV 3.2 with the xfeatures2d module. I followed this tutorial: putuyuwono.wordpress.com/2015/04/23/building-and-installing-opencv-3-0-on-windows-7-64-bit/ to build OpenCV with OpenCV_contrib.

After completing the guide I´m able to use most of the OpenCV + OpenCV contrib modules with expection of the xfeatures2d module.

After building with Visual Stuido 2015 i´m not able to find the corresponing libary in the Directory: E:\opencv-3.2\build\install\x64\vc14\lib (all the other libarys are there): In the solution explorer of VS 15 i´m able to find the module opencv_xfeatures2d. When trying to build only this module i get following errors:

Severity Code Description Project File Line Suppression State Error C1083 Cannot open include file: 'vgg_generated_120.i': No such file or directory opencv_xfeatures2d E:\opencv-3.2\source\opencv_contrib\modules\xfeatures2d\src\vgg.cpp 474

Severity Code Description Project File Line Suppression State Error C1083 Cannot open include file: 'boostdesc_bgm.i': No such file or directory opencv_xfeatures2d E:\opencv-3.2\source\opencv_contrib\modules\xfeatures2d\src\boostdesc.cpp 646

Do you have any idea whats the problem? (google said a soultion would be to disbale Build_opencv_contribworld and _cudaarithm in cmake, but it didn´t solve the problem)

Thanks