在Visual Studio 2008中打开CV构建时间错误? [英] Open CV in Visual Studio 2008 build time error?

查看:94
本文介绍了在Visual Studio 2008中打开CV构建时间错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下代码来构建/调试项目,但它给了我这个错误



致命错误LNK1104:无法打开文件''C:\ OpenCV2.0 \ lib \ cv200.lib''

因为我已成功添加我的** lib **,** include **和** src **等但它仍然给我一个错误,

代码是:

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;



}



有任何路径问题,我已经包含了我的开放式简历路径也在系统变量...我的OpenCV2.0安装在这个文件夹中



C:\ OpenCV2.0

推荐答案

opencv link1104错误 [ ^ ]

或有一个指南在Visual C ++ 2010 Express中安装OpenCV 2.4 [< a href =http://stackoverflow.com/questions/10901905/installing-opencv-2-4-in-visual-c-2010-expresstarget =_ blanktitle =New Window> ^ ]


这是路径问题。请重置。
it is "path" problem.Please reset.


这篇关于在Visual Studio 2008中打开CV构建时间错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆