In the boost, there are two types of libs, one is ending with mt-gd
, the other is ending with mt-s
. What's the difference between those two?
Read Boost Getting Started on Windows
As pointed out in the other answers and comments, these represent different configurations. With this answer, I'd like to give a more complete overview and link to the corresponding Visual Studio configurations:
-mt-s
corresponds to VS' Runtime Library setting /MT
-mt-sgd
corresponds to VS' Runtime Library setting /MTd
-mt
corresponds to VS' Runtime Library setting /MD
-mt-gd
corresponds to VS' Runtime Library setting /MDd
First and second can be built with ./b2 runtime-link=static threading=multi
Third and fourth can be built with ./b2 runtime-link=shared threading=multi
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With