Ask Your Question

Revision history [back]

Unhandled exception in Release version of Feature Detection and Feature Matching with FLANN

Hello folks,

I have OpenCV 3.2.0 installed on VS2017 CE. I built and compiled the tutorials on Feature Detection and Feature Matching with FLANN using code from http://docs.opencv.org/master/d7/d66/tutorial_feature_detection.html and http://docs.opencv.org/master/d5/d6f/tutorial_feature_flann_matcher.html.

The debug version of the .exe files run successfully. However, the release version of both programs crash with the following warning:

Unhandled exception at 0x00007FFAF4DE3159 (opencv_xfeatures2d320d.dll) in flann.exe: 0xC0000005: Access violation writing location 0x000000000000001C. occurred

Please can anyone tell me how to fix this? Thanks