Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

Building OpenCV 3.1.0 from source with SIFT and SURF

$
0
0
I'm trying to build OpenCV 3.1.0 (with the extra contrib packages) from source. I'm following the [instructions in this tutorial](http://dogfeatherdesign.com/opencv-3-0-microsoft-visual-studio-2015-cmake-and-c/) to build it under Visual Studio 2015 and the [ones in this StackOverflow question](http://stackoverflow.com/questions/30657774/surf-and-sift-algorithms-doesnt-work-in-opencv-3-0-java) to re-enable the SIFT and SURF features, now under opencv_contrib. All goes well except that the file `features2d_manual.hpp`, changed in the second link, fails to compile with the following error: fatal error C1083: Cannot open include file: 'opencv2/xfeatures2d.hpp': No such file or directory I am at a loss of what might be going on here, due to my poor understanding of how CMake and Visual Studio interact. The opencv_contrib modules are being properly added through the CMake variable `OPENCV_EXTRA_MODULES_PATH`. Are any of you able to help? Thank you for your time reading this! AP

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>