Attention! This forum will be made read-only by Dec-20. Please migrate to Most of existing active users should've received invitation by e-mail.
Ask Your Question

msvcr100d.dll is missing (OpenCV 2.4.2, VisualStudio 2012)

asked 2012-09-30 04:49:19 -0500

Crash gravatar image

updated 2012-10-01 06:05:12 -0500

Kirill Kornyakov gravatar image

Hello I downloaded and unzipped OpenCV-2.4.2.exe on my PC. Then created a new Win32 project in VS 2012, set all the Paths in Project properties, set the environmental variables in Win7. When I'm trying to start the program in debugging mode I get the "The program can't start because MSVCR100D.dll is missing from your computer. Try reinstalling the program to fix this problem".

Ok, I downloaded the MSVCR100D.dll and threw it in Windows/System32... But the problem still remains. What should I do to use OpenCV in VS 2012? I don't want to build the OpenCV libraries from scratch. Maybe is there another simpler way?

If somebody has the pre-built 2.4.2 for VS 2012 please give a link.

edit retag flag offensive close merge delete


Kirill Kornyakov gravatar imageKirill Kornyakov ( 2012-10-01 06:02:42 -0500 )edit

Unfortunately a pre-built set of libraries for OpenCV for Visual Studio 2012 is not provided with the official OpenCV installation. However you can use the MSVCR100D.dll from an alternate Visual C++ 2010 Express installation. Or you can build your own libraries using CMake. But unless you are going to change the OpenCV source code or contribute to it, I think it would be easier if you could just use the pre-built libraries for Visual Studio 2010. Just build your code in Release configuration.

karanjthakkar gravatar imagekaranjthakkar ( 2012-11-21 06:40:22 -0500 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2012-09-30 10:30:41 -0500

Crash gravatar image
edit flag offensive delete link more

answered 2012-09-30 05:42:27 -0500

muhammet_Ali gravatar image

I think the problem is not special issue for is some kind of general problem of VS. maybe this can be helpful

edit flag offensive delete link more


You Know Man I'm afraid that this MSVCR100D.dll is used only in VS 2010 and doesn't relate to VS 2012.

Crash gravatar imageCrash ( 2012-09-30 06:14:39 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2012-09-30 04:49:19 -0500

Seen: 7,820 times

Last updated: Oct 01 '12