问题描述
我刚刚将 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"不匹配的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!