发布模式应用程序生成调试断言失败!

发布模式应用程序生成调试断言失败!

问题描述:

您好!

我们正在使用发布配置在Visual C ++ 2015中构建我们的应用程序。目标计算机的操作系统是Windows 2012 64位。 

We are building our application in Visual C++ 2015 with release configuration. The Operating System of target machine is Windows 2012 64 bits. 

当应用程序在计算机上运行时,在事件查看器中创建了以下事件日志(系统):

When the application was running in machine, the following event log ( System ) was created in event viewer:

      Microsoft Visual C ++运行时库

     调试断言失败!

     Microsoft Visual C++ Runtime Library
     Debug Assertion Failed!

为什么此断言失败发生在
app内置于Visual C ++的发布模式

Why this assertion failed is occurring in an app built in release mode of Visual C++?

提前致谢。

最诚挚的问候,

Paulo Filho。

Paulo Filho.

你好,

错误表明您的程序仍然与vc ++库的调试版本链接。检查你的编译器设置,也许它仍然是/ MTd或/ MDd?

the error shows that your program is still linked with the debug version of the vc++ library. Check your compiler settings, maybe it is still /MTd or /MDd ?

问候,Guido