Ask Your Question
0

the code execution cannot proceed because opencv_world344d.dll was not found

asked 2018-12-14 23:18:48 -0600

I'm running into problem after problem getting this to run.

I am using VC++14, Windows 10 Pro, 64bit.

I can get it to compile all the way through in Debug mode, but not Release mode. The app compiled in Debug mode brings back the above error message when I run it.

the code execution cannot proceed because opencv_world344d.dll was not found

I cannot find where I've typed in .DLL instead of .LIB for this file. Is the LIB file being compiled into a DLL and then it is looking for the DLL?

I have the LIB file name input into Project/Linker/Input/Additional Dependencies. Is that the correct place?

I tried the other three LIBs: 400, 400d, 344. 344d was the one that gave me no errors.

Can anyone point me in the right direction here? Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-12-15 02:15:57 -0600

berak gravatar image

updated 2018-12-15 02:17:08 -0600

you have to append the folder containing the opencv_worldxxx.dll's to the PATH environment variable (so your program can later find them at runtime) like:

setx PATH %PATH%;c:\opencv\build\bin\x64\vc15\bin

(and then you probably need to restart your ide, so it can pick up the changes)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-12-14 23:18:48 -0600

Seen: 2,766 times

Last updated: Dec 15 '18