My project links a lot of static libraries. All of them previously links well, but now I added mysql c api library and now I gets errors like that:
mysqlclient.lib(client_authentication.obj) : error LNK2038: mismatch detected for "_ITERATOR_DEBUG_LEVEL": value "0" doesn't match value "2" in mysql_database_connection.obj
mysqlclient.lib(client_authentication.obj) : error LNK2038: mismatch detected for "RuntimeLibrary": value "MT_StaticRelease" doesn't match value "MTd_StaticDebug" in mysql_database_connection.obj
But only if I builds project with MTd option of MSVC runtime library (I using this runtime library option for development). Other static libraries links well. I can fix errors through changing MTd to MT, but I want to use MTd. Why other static libraries links ok? Compile options was same (libraries compiled by myself), MT option for all libraries, but only mysql c api can't be linked with my project MTd option.
Why?
Thanks in advance!