user572575
user572575

Reputation: 1049

I can't run openCV2.3.1 with VS2010 because opencv_core231d.dll was not found

I installed openCV2.3.1 with VS2010. In VC++ Directories I set Library Directories to C:\opencv\build\x86\vc10\lib. My code has no error but when I try to build it VC++2010 displays this error

This application has failed strat because opencv_core231d.dll was not found. Reinstall the application may fix this problem.

How do I setup openCV2.3.1 with VC++2010 to find the .dll?

Upvotes: 0

Views: 6978

Answers (3)

karlphillip
karlphillip

Reputation: 93468

Download and install the 2.3.1 superpack for Windows and configure Visual Studio according to this post. Even though the instructions are for the 2.3 version, the procedure remains the same and you just need to take care to use the appropriate paths and file names of v2.3.1 when following the steps.

Alternatively you could try to follow Andrey's recommendation, but I haven't test it yet.

Upvotes: 0

Andrey Kamaev
Andrey Kamaev

Reputation: 30152

Have you seen Microsoft Visual Studio tutorial from the latest OpenCV documentation?

Upvotes: 2

Nickolas
Nickolas

Reputation: 790

You need to build the openCV2.3.1 yourself. We use cmake build tool in our project. And you should copy the opencv_core231d.dll to your exe directory so that your executable file can find the dll. Here is the Complete Installation guide for OpenCV.

Upvotes: 1

Related Questions