Reputation: 3060
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++.
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
Upvotes: 4
Views: 20387
Reputation: 3060
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)
Upvotes: 6