error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in main.obj

前端 未结 20 1030
耶瑟儿~
耶瑟儿~ 2020-11-29 20:36

I have read a lot of solutions to my problem but none helped. I tried clean, rebuild. Reinstalled visual 2010 and change from professional to ultimate. But still I dont know

相关标签:
20条回答
  • 2020-11-29 21:30

    Try this: Goto project property -> C/C++ -> Code generation -> Runtime Library Select from combobox value : Multi-threaded DLL (/MD) It work for me :)

    0 讨论(0)
  • 2020-11-29 21:30

    Small addition to the help above: I got the mismatch error after adding a static libto an older VST solution using VST 2017 . VST now generates "stdfax.h" for precompiled headers containing these 2 lines:

    // Turn off iterator debugging as it makes the compiler very slow on large methods in debug builds
    #define _HAS_ITERATOR_DEBUGGING 0
    
    0 讨论(0)
提交回复
热议问题