Springe zum Inhalt

error LNK2038: mismatch detected for ‘_ITERATOR_DEBUG_LEVEL’: value ’0′ doesn’t match value ’2′

This error appears if you mix lib/obj files some which are built as release and some which are built as debug. Check your library dependencies. Often lib/obj files for debug purposes end with an 'd'.

error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2'

Just for the curiosity:

_ITERATOR_DEBUG_LEVEL = 0 (in release mode)
_ITERATOR_DEBUG_LEVEL = 1 (in release mode if _SECURE_SCL is defined)
_ITERATOR_DEBUG_LEVEL = 2 (in debug mode)

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert