Ask Your Question

Eclipse CDT I have build opencv but my .exe fails at runtime

asked 2020-09-18 13:07:08 -0500

squenix008 gravatar image


I have followed all the steps to generate the binaries. After the install step i do have the libs libopencv_calib3d450.dll.a, libopencv_core450.dll.a ... I have added them to my project but when i launch the .exe file i got the error shown in attachments Please Can you help ?

Best regardsimage description

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2020-09-19 02:18:52 -0500

berak gravatar image

after building / installing the opencv libs you have to add the location of the opencv dlls to the, PATH env variable, so your program can find them at runtime.

so, locate, where those went, it's something like


(here) then enter the os' system settings -> system -> extended settings -> environment

and add it to the PATH (with a ; as seperator). you'll have to restart your IDE, so it picks up changes.

edit flag offensive delete link more



Thanks a lot, I have done that and the .exe is launching fine: But the problems is that when i run from eclipse => nothing When i launch the .exe from cmd window i see the picture but the windows just sticks for a few seconds.

Best regards!

squenix008 gravatar imagesquenix008 ( 2020-09-19 05:11:50 -0500 )edit

sorry, but we cannot help you using eclipse, that's really far off

i see the picture but the windows just sticks for a few seconds.

we also are no psychics, we have no idea what your program is doing (or even, what it should do)

berak gravatar imageberak ( 2020-09-19 05:32:13 -0500 )edit

It's one of the"official" samples from opencv that's the reason why i didn't give any further details. But dont worry i'll manage, the forum did a lot already, thanks!

squenix008 gravatar imagesquenix008 ( 2020-09-19 14:21:41 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-09-18 13:07:08 -0500

Seen: 31 times

Last updated: Sep 19