Ask Your Question
0

opencv_core430d.dll was not found

asked 2020-06-05 10:59:14 -0600

RGOD gravatar image

hello. I have used open cv before and managed to run the projects however I have reinstalled the updated version (430). it is running on windows 10 visual studio 19 as it was be fore but when I try to execute the code now it opens the window then give the system error of 'the code execution cannot proceed because opencv_core.dll was not found. reinstalling the program may fix this problem.' I am using the sample code on the 'How to build applications with OpenCV inside the "Microsoft Visual Studio"' page and I have tried reinstalling both open cv and visual studios . I have checked the project-> properties ->VC++ Directories-> include directories and library directories as well as Linker-> input->input -> additional directories and so far every thing seems to be correct. Please could you point me in the right direction I have checked a number of other forums that have all been a different version of opencv and dint seem to aid me.

edit retag flag offensive close merge delete

Comments

1

please add the folder containing opencv_core430d.dll to the PATH env var (so your exe can find it (and other opencv dlls) at runtime)

berak gravatar imageberak ( 2020-06-05 11:13:00 -0600 )edit

Ah you already solved it - should have read before writing comment. BTW i had to restart IDE too(microsoft...).

holger gravatar imageholger ( 2020-06-11 19:11:13 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2020-06-10 12:04:56 -0600

HomanH gravatar image

My note 8, section 4-1 You have to choose 1, All build 2, choose Debug; install->Build image description 3, choose Release; install->Build Then you have two type files in the same folder. image description

Insert all debug file names into the linker->input->Add dependencies. Please check my note for detail if you like it please give me a clap.

edit flag offensive delete link more

Comments

Funny i just had the same problem just 2 hours ago. After googling and trying out multiple things in visual studio(having a german version with different button name did not helped at all) and pressing like 100 buttons and dialogs - i just put the folder with the dll into the PATH of my windows system. Then i restarted my ide (of cause because microsoft likes reboots) and it worked.

holger gravatar imageholger ( 2020-06-11 19:10:28 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2020-06-05 10:59:14 -0600

Seen: 7,192 times

Last updated: Jun 10 '20