Home c++ Missing mcvcp140.dll

Missing mcvcp140.dll

Author

Date

Category

C++. Wrote the code in Visual Studio 2017. Build the application as Release x86. I’m trying to run it on another computer (windows 7×64 installed). Doesn’t start. Writes Missing mcvcp140.dll. What to disable or enable in the Visual Studio settings so that the project is compiled without this component? I know that I need to reinstall the Visual C++ package on that machine, but I want it to work without it.


Answer 1, authority 100%

You need to statically link with CRT libraries. Apparently you have a dynamic one.

Visual Studio 2013. Static linking with CRT libraries

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions