This project has moved and is read-only. For the latest updates, please go here.

Compile Game using Multi-Threaded (/MT)

Jul 11, 2016 at 5:00 PM
Edited Jul 11, 2016 at 5:00 PM
Recently, I had posted an issue about not being able to compile the project files when I had changed one of the project setting to use Multi-Threaded (/MT).

The link to the issue is here:

Previously, my DirectX 9 project files were able to compile using /MT. However, when I had used /MT, the error logs showed mismatch in values (i.e. MD_Dynamic_Release vs MT_StaticRelease). The purpose of using this setting is to allow systems to run games without the installation of any Microsoft C/C++ redistribution.

I want to know if any developers had faced this issue as well and what is the solution to it?
Jul 26, 2016 at 7:26 AM
You would need to create a custom vcxproj for the DirectXTK static library which builds using /MT (i.e. statically linked CRT). None of the 'stock' vcxproj versions will build this was as it is not recommended.