Ask Your Question
0

Opencv_242d.dll missing

asked 2013-02-07 02:37:24 -0600

opencvuser gravatar image

Hello,

I have installed OpenCV 2.4.2 and Visual C++ 2010 - (Windows 7, 64 bit). While executing a sample program, I have got an error as follows:

The program can't start because opencv_core242d.dll is missing from your computer. Try re installing the program to fix this problem.

That dll file was already present in the folder. But I tried re-intsalling and still I am getting the same error.

If possible, someone can please help me to solve this error.

Thanks...

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2013-02-07 06:50:27 -0600

ubehagelig gravatar image

I believe the problem is your paths.

What is your "Include Directories"?

What did you type in in "Additional Dependencies"?

edit flag offensive delete link more

Comments

1

it's the binaries(dlls), that can't be found, so you have to adjust your PATH environment variable.

  • if you built those locally, you have to add 2 items, the path to the debug and the release folder (separated by ; ). , that should be similar to :

    E:\code\opencv242\bin\debug;E:\code\opencv242\bin\release;

  • if you're using the prebuilt libs, then only one:

    E:\code\opencv242\build\x86\vc9\bin // whatever os / vs version you're using

berak gravatar imageberak ( 2013-02-07 07:21:57 -0600 )edit
0

answered 2013-02-07 09:22:29 -0600

unxnut gravatar image

Make sure that the location of the DLL (the directory) appears in the environment variable PATH.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-07 02:37:24 -0600

Seen: 841 times

Last updated: Feb 07 '13