Click here to Skip to main content
14,825,842 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
i have the below code to build/debug the project, but it gives me this error

fatal error LNK1104: cannot open file 'C:\OpenCV2.0\lib\cv200.lib'
As i have successfuly add my **lib**,"**include**" and"**src**" etc but it still gives me an error,
code is :
 #include "stdafx.h"
 #include "cv.h"
 #include "highgui.h"
int main()
{
IplImage* img = cvLoadImage("C:\\my_img.jpg",1);
    cvNamedWindow( "test", CV_WINDOW_AUTOSIZE );
    cvShowImage( "test", img );
    cvWaitKey(0);
    cvReleaseImage( &img );
return 0;

}

is there any "path" problem, i have include my open cv path also in system variable...my OpenCV2.0 is install in this Folder

C:\OpenCV2.0
Posted
Updated 14-Jan-13 10:51am
v2
Comments
Sergey Alexandrovich Kryukov 14-Jan-13 14:37pm
   
Where did you specify the path to cv200.lib for your project to access the library? Did you do it at all?
—SA
PIR FAHIM SHAH 14-Jan-13 15:01pm
   
i have cv200.lib in its specific location like
project properties-->Linker-->input
here in this location i have add all the libraries name


it is "path" problem.Please reset.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900