Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi again!

I am happy to say that I have now found a fix that worked for me!

What I had to do was to first generate the solution using Cmake. As generator I had to choose Visual Studio 14 2015 Win64. After I generated the first solution I chose the correct OPENCV_EXTRA_MODULES_PATH and clicked "configure". I then chose ONLY the xfeatures2d module to be generated (as this was the only one I needed) and hit generate again. I then opened the OpenCV.sln project solution in the build folder and built the ALL_BUILD and INSTALL parts in both debug and release. After correct linking the xfeatures2d module worked fine!

The reason I chose only the xfeatures2d module to be generated is that I read that alot of the opencv_contrib modules are corrupted and do not work with VS15. Thanks to all of you for your help in all of this, and I hope this answer can be of help to everyone else aswell.