問題描述
我剛剛將 Visual Studio (C++) 解決方案移到另一臺計算機上,設置了所有目錄和設置,并在解決方案上進行了清理/重建.我在編譯時收到一堆 .obj 的錯誤,不知道該怎么辦.
I've just moved over a Visual Studio (C++) solution over to another computer, setup all the directories and settings as far as I can see, and did a clean/rebuild on the solution. I get the error above on a bunch of .obj's on compile, not sure what to do about it.
推薦答案
您似乎正在混合使用不同設置構建的目標文件.嘗試進行完全干凈的重建并檢查所有項目文件設置以確保 _ITERATOR_DEBUG_LEVEL 宏相同(例如,您沒有混合調試和發布構建對象).
It seems that you are mixing object files built with different settings. Try to do a full clean rebuild and check all project file settings to make sure that the _ITERATOR_DEBUG_LEVEL macro is the same (e.g., you are not mixing debug and release built objects).
這篇關于_iterator_debug_level 值“0"與值“2"不匹配的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!