QT with opencv exception handling error

asked 2014-11-28 01:07:27 -0500

sunilnair gravatar image

Hello, I tried to integrate opencv with QT using this tutorial: http://stackoverflow.com/questions/15881913/how-to-link-opencv-in-qtcreator-and-use-qt-library

However, whenever i include the opencv header files in my program, I get the following error.

D:\opencv\build\include\opencv2\flann\saving.h:113: error: exception handling disabled, use -fexceptions to enable throw FLANNException("Invalid index file, cannot read"); ^ Could someone help?

edit retag flag offensive close merge delete