发布模式应用程序生成调试断言失败! [英] Release mode Application generating Debug Assertion Failed!

查看:1175
本文介绍了发布模式应用程序生成调试断言失败!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!

我们正在使用发布配置在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


这篇关于发布模式应用程序生成调试断言失败!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆