Ask Your Question

Have a dll run on another computer not set up with OpenCV?

asked 2018-03-19 11:58:16 -0500

Hey guys, new to opencv, I wanted to get some clarification on how I can get a dll to run on other computers. It works fine on my home computer because I have everything set up there, but today when i tried to run it on a different computer it gave me the "program cant start because opencv_world341d.dll is missing from your computer" message.

Is there a way to get my dll working as its own thing so I can pass it around to other people?

Any reference material is also appreciated!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-03-19 12:13:28 -0500

berak gravatar image

updated 2018-03-19 12:14:48 -0500

put your program & opencv_world.dll & opencv_ffmpeg.dll into the same folder, zip it, done !

(oh and, btw, you should redistribute RELEASE builds & dlls, not DEBUG ones !)

edit flag offensive delete link more


Ill try that out!

I think I understand what you mean. I do believe I got the dll out of the debug folder in the VS project folder, is there a different thing I should be doing to make my dll? I press F7 to get it to make itself.

thedean91 gravatar imagethedean91 ( 2018-03-19 12:34:08 -0500 )edit

i don't have VS here, but somewhere is a dropdown to switch between RELEASE and DEBUG build.

build your program again this way.

choose RELEASE (smaller, faster), and make sure, you pack the dll's without a trailing d in the name

berak gravatar imageberak ( 2018-03-19 12:39:19 -0500 )edit

I'm pretty sure I know the drop down you're talking about. I'm going to give it a go when I'm back on my home PC. thank you!

thedean91 gravatar imagethedean91 ( 2018-03-19 12:46:54 -0500 )edit

Question Tools

1 follower


Asked: 2018-03-19 11:58:16 -0500

Seen: 182 times

Last updated: Mar 19 '18