how to resolves this ??? have installed visual studio c++ 2010 and opencv 2.4.9
am trying to run this code
#include <opencv\cv.h>
#include <opencv\highgui.h>
using namespace cv;
int main()
{
IplImage* img=cvLoadImage("C:\\Users\\nmi6kor\\Desktop\\index.jpg");
cvNamedWindow("Example1",CV_WINDOW_NORMAL);
cvShowImage("Example1",img);
cvWaitKey(0);
cvReleaseImage(&img);
cvDestroyWindow("Example1");
return 0;
}
when I build the solution it is showing error..
1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt
Okay lets start with the standard questions:
And again, stop using the OLD api, it will get you more headaches then needed.