Friday, August 23, 2019

computer vision - visual studio 1error LNK2001: unresolved external symbol _mainCRTStartup,2 error LNK1120: 1 unresolved externals

code:


#include "stdafx.h"
#include"highgui.h"
#include"stdio.h"
int main(int argc, CHAR* argv[])
{
cvNamedWindow:( "Example2", CV_WINDOW_AUTOSIZE );
CvCapture* capture = cvCreateFileCapture( "tendulkar.avi" );
IplImage* frame;
while(1) {
frame = cvQueryFrame( capture );
if( !frame ) break;
cvShowImage( "Example2", frame );
char c = cvWaitKey(33);
if( c == 27 ) break;
}
cvReleaseCapture( &capture );
cvDestroyWindow( "Example2" );
return 0;
}

No comments:

Post a Comment

hard drive - Leaving bad sectors in unformatted partition?

Laptop was acting really weird, and copy and seek times were really slow, so I decided to scan the hard drive surface. I have a couple hundr...