Reputation: 1049
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
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
Reputation: 30152
Have you seen Microsoft Visual Studio tutorial from the latest OpenCV documentation?
Upvotes: 2