vendredi 27 mars 2015

Unable to use opencv in windows form application c++ visual studio 2010

I want to use OpenCv in windows form application application C++ in visual studio 2010. For this I take a windows form application and include this header file



#include <opencv2/highgui/highgui.hpp>


Now I build the application. I got this error:-



error C1189: #error : ERROR: EMM intrinsics not supported in the pure mode!


To remove this error , I did this:-



Set the solution Properties - -> General ----> Common Language Runtime Support -----> Common Language Runtime Support (/ clr)


But now in building the project , I got this error:-



error C1001: An internal error has occurred in the compiler


So, please tell me what should I do to use opencv in windows form application.


Aucun commentaire:

Enregistrer un commentaire