SilverHawk
SilverHawk

Reputation: 23

Visual Studio missing msvcr120d.dll and msvcp120d.dll error

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

Answers (1)

IInspectable
IInspectable

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: Configuration dropdown list

Upvotes: 6

Related Questions