error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL'

    Normally, _ITERATOR_DEBUG_LEVEL is set automatically by choosing either the Debug or Release build mode. So when you meet this error, it may well be that your projects in your solution have different build modes ( one is Debug and the other is release ) . You can have several solutions to fix this problem.

   The first solution is that you can clean the error projects and rebuild them. Remember to build them in the same build mode. If this solution cannot help, you can try the second solution.

   The second solution is that you remove the error projects, and create new projects, add source files of removed projects to the new projects. Rebuild all removed projects with the same build mode.

  

   I solved this problem with the second solution, and I hope it also works for you :)

  

  

   http://social.msdn.microsoft.com/Forums/en/vcpluslanguage/thread/47cac5fe-50ac-4f74-bdf0-74cd837f2412

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章