L
L
lexdevel2016-01-08 12:50:21
C++ / C#
lexdevel, 2016-01-08 12:50:21

How to compile C++ release (MSVC)?

Good day to all!
In Visual Studio, to make a rez, you need to put the code generation in / MT (MultiThreaded), in order for the binary to run on an OS without Visual C ++ Redistributable ... At least it was, now I did the same, MSVS 2015, set platform tools v140. I ran the binary on a laptop where there is no Visual Studio, OS - Windows 7 - I got a message that VCRUNTIME140.DLL is missing ...
Is there a way to statically link all dependencies into a binary?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maaGames, 2016-01-08
@maaGames

are you using MFC?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question