Reputation: 23
I am using Visual Studio 2013 I cant run my exe on another computers because of missing missing msvcr120d.dll and msvcp120d.dll.
I already downloaded vcredist from: http://www.microsoft.com/en-us/download/details.aspx?id=40784
I tried MT (Multi-threaded) but same error. :(
Please help I tried everything.
Upvotes: 2
Views: 15653
Reputation: 51511
You are linking against the Debug CRT library (indicated by the trailing d). Those aren't redistributable, and are only available on systems, where Visual Studio is installed.
The solution is to compile a release configuration. A release configuration links against the Release CRT library, that is part of the Visual C++ Redistributable Packages for Visual Studio 2013, and can be deployed alongside your application.
A release configuration can be built by selecting Release from the configuration dropdown list:
Upvotes: 6