/MT Release Mode Issues

Hello,

I am compiling an App in Release static library (/MT) mode for Win10 (x64 and Win32) and the result works on the source computer, but it is not possible to run it on clean PCs. Following the indications from Introducing the Universal CRT - C++ Team Blog, the necessary Static Runtime Libraries are added in this case, that is:

Configuration Properties → Linker → Input →

  • libcmt.lib
  • libvcruntime.lib
  • libucrt.lib

This has not worked. On the other hand, after checking the dependencies of the executable of external libraries using dumpbin /DEPENDENTS myexe.exe, the following result is obtained:

  • user32.lib
  • gdi32.lib
  • comdlg32.lib
  • advapi32.lib
  • shell32.lib
  • ole32.lib
  • oleaut32.lib
  • winmm.lib
  • wininet.lib
  • ws2_32.lib
  • shlwapi.lib
  • imm32.lib
  • dxgi.lib

Therefore this group of libraries is also added in the section “Configuration Properties → Linker → Input” along with the three previous libraries.

I do not know if there is any additional configuration that I should perform (necessary flags, additional paths for libraries, or any other configuration that is not exported by default from Projucer to Visual Studio).

Any help or indication will be really welcomed. Thank you very much in advance!

Greetings