OpenCV - 缺少DLL? [英] OpenCV - missing dlls?

查看:584
本文介绍了OpenCV - 缺少DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个初学者学习OpenCV。我有最新版本(2.4.7.2截至2013年12月),我正在尝试一个简单的代码加载图像。代码是确定的,但是当我编译然后运行源代码,它说,
程序无法启动,因为opencv_core247d.dll缺少。

I am a beginner learning OpenCV. I have the latest version (2.4.7.2 as of Dec, 2013) and am trying a simple code to load image. The code is OK, but when I compiled and then run the source code, it says that "the program can't start because opencv_core247d.dll is missing."

我已经尝试根据几个建议更改计算机的环境,并为我的解决方案进行所有相应的路径设置。我试图重新启动电脑,添加丢失的文件到我的源代码的Debug文件,试图解决CMake(幸运的是,它没有生成任何东西,我猜这是为我的下一个问题);问题仍然存在。

I already tried changing the computer's environment and making all the corresponding path setting for my solution according to several suggestions. I tried rebooting the PC, adding the "missing file" to my source code's Debug file, tried getting around with CMake (fortunately though it failed to generate anything and I guess that goes for my next question); the problem persists.

那么,有没有傻瓜式和简单的方法来处理这个问题?谢谢。 Btw,这里是我的小源代码:

So, is there any fool-proof and simple way of dealing with this problem? Thank you. Btw, here is my little source code:

# include "highgui.h"

int main (int argc, char** argv)
{

    IplImage* img = cvLoadImage("D:\\OpenCV Test\\LoadImage\\fruits.jpg") ;
    cvNamedWindow("Fuits", CV_WINDOW_AUTOSIZE) ;
    cvShowImage("Fuits", img) ;
    cvWaitKey(0) ;
    cvDestroyWindow("Fruits") ;
    cvReleaseImage (&img) ;
}






推荐答案

我有问题。
我有win7-64bit和visual studio 2013和opencv-3

i have problem . i have win7-64bit and visual studio 2013 and opencv-3

程序无法启动,因为opencv_word300d.dll从您的计算机丢失。请尝试重新安装该程序以解决问题。

the program can't start because opencv_word300d.dll is missing from your computer . try reinstalling the program to fix problem.

这篇关于OpenCV - 缺少DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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