Ask Your Question

OpenCV 3.2 Visual Studio .dlls missing

asked 2017-01-30 03:46:28 -0500

JayDubs gravatar image

updated 2017-01-30 03:49:12 -0500

I am using OpenCV 3.2 and I'm trying to run the program I wrote on another machine. All include and lib directories have been set correctly as far as I can see and I added opencv_world320.lib as an additional include. When running the program on another machine I get the following error:

"The program can't start because opencv_world320.dll is missing from your computer. Try reinstalling the program to fix this problem."

I already changed the Runtime Library inside Visual Studio to /MT. Is there anything else I need to consider other than statically linking the libraries?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2017-01-30 08:11:17 -0500

pi-null-mezon gravatar image

Just copy opencv_world320.dll from the design machine to the directory with the application's exe on the target machine.

edit flag offensive delete link more

answered 2017-06-28 13:48:16 -0500

lamiastella gravatar image

You would need to have the following in the additional include libraries in Project Properties->C++->General:




Also, in the linker in Link Library Dependencies section, you would need to have:


Additionally, you should have opencv_world320.lib in the Linker->Input->Additional Dependencies At the end, add C:\opencv\build\x64\vc14\bin to PATH system variable and do a sign out. This assumes that OpenCV3.2.0 is in C:\ and you are using Visual Studio 2015 (VS14) and have extracted the Win Pack version of OpenCV.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-01-30 03:46:28 -0500

Seen: 10,559 times

Last updated: Jun 28 '17