安装OpenCV HighGUI丢失

编程入门 行业动态 更新时间:2024-10-28 13:14:35
本文介绍了安装OpenCV HighGUI丢失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我在安装OpenCV时遇到了一些麻烦.我选择了这里提供的2.3.1 Windows Superpack: opencv.willowgarage/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: opencv.willowgarage/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/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/wiki/InstallGuide)

更多推荐

安装OpenCV HighGUI丢失

本文发布于:2023-05-27 10:00:26,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/285822.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:OpenCV   HighGUI

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!