Ask Your Question

Revision history [back]

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

click to hide/show revision 2
No.2 Revision

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\cv.h>
#include <opencv\highgui.h>
  

include <opencv\highgui.h>

using namespace cv;

cv;

int main() { IplImage* img=cvLoadImage("C:\Users\nmi6kor\Desktop\index.jpg"); 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 I build the solution it is showing error.. error..

1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

corrupt