_iterator_debug_level 值“0"与值“2"不匹配

时间:2023-03-08
本文介绍了_iterator_debug_level 值“0"与值“2"不匹配的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

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

上一篇:Visual Studio 调试器错误:无法启动程序找不到指定的文件 下一篇:Haskell 面向对象编程

相关文章