安装OpenCV HighGUI丢失 [英] Installing OpenCV HighGUI missing

查看:573
本文介绍了安装OpenCV HighGUI丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在安装OpenCV时遇到了一些麻烦.我选择了这里提供的2.3.1 Windows Superpack: http://opencv.willowgarage.com/wiki/.我将其提取到C:\ OpenCV,并使用CMake将其构建到"OpenCV/build"目录中,以用于Visual C ++ 64位. 生成了一个INSTALL文件,我以Debug和Release模式(64位)构建了它.然后,我尝试对"OpenCV/samples/c/example_cmake"中的"minarea"示例文件执行相同的操作:使用CMake生成文件,然后使用Visual C ++进行构建.

I have some trouble installing OpenCV. I took the 2.3.1 windows superpack available here: http://opencv.willowgarage.com/wiki/. I extracted it to C:\OpenCV and built it with CMake into the "OpenCV/build" directory, for Visual C++ 64 bits. An INSTALL file was generated, I built it in Debug and Release mode (64bits). Then I tried to do the same for the "minarea" sample file in "OpenCV/samples/c/example_cmake": generate the files with CMake and then build with Visual C++.

在整个过程中,我没有发现任何决定性的错误.但是,当我尝试打开示例exe文件时,我得到:该程序无法启动,因为缺少opencv_highgui231d.dll".嗨

Throughout the entire process I had no decisive error I was aware of. But when I try to open the sample exe file, I get: "The program can't start because opencv_highgui231d.dll is missing". And hig

推荐答案

问题已解决.为了将来记录,可以通过在系统路径中添加文件夹"opencv_core * d.dll"和"opencv_core * .dll"(其中*是版本号)来解决此问题(请参阅使用Visual Studio编译"段落)此处: opencv.willowgarage.com/wiki/InstallGuide )

Problem solved. For future records, the problem is solved by adding the folder where "opencv_core*d.dll" and "opencv_core*.dll" (where * is the version number), to your system path (see the "compile using visual studio" paragraph here :opencv.willowgarage.com/wiki/InstallGuide)

这篇关于安装OpenCV HighGUI丢失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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