我在安装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丢失
发布评论