Recently, I compiled zlib, openssl, libSSH2 and libcurl with Visual Studio 2017. All of them had /MD option, but I can use them in my project which use /MT option.
But with other libraries, like JsonCpp, PugiXML and so on, I cannot link them to my project because they had MD option and resume linking by LNK2038 error
fmts.lib(format.obj) : error LNK2038: discordance détectée pour 'RuntimeLibrary' : la valeur 'MD_DynamicRelease' ne correspond pas à la valeur 'MT_StaticRelease' in 4DPlugin.obj
What i don't understand is why libcurl can be linked by a project with /MT or /MD option and JsonCpp can't.
Is it possible to make these libraries compatible both MT and MD options, or zlib, openssl, libSSH2 and libcurl have something special ?