【OSG运行错误】Unhandled exception at 0x7709B872 in XXXX.exe:Microsoft C++exception:std::bad_alloc
来源:互联网 发布:js身份证号正则表达式 编辑:程序博客网 时间:2024/05/22 04:56
1.问题描述
学习OSG过程中碰到这样一个问题,如图:
2.错误原因
这是由于解决方案的配置模式与使用的OSG中lib版本不一致导致的。我的原因是因为我使用VS的debug模式运行的程序,而OSG中的lib是分为debug版本和release版本的,我使用的OSG的lib是release版本,所以导致出现这个错误。
3.解决方法
项目属性-配置属性-链接器-输入-附加依赖项。
把附加依赖项中,你所添加的lib版本从release版本修改为debug版本。例如,把osg.lib改为osgd.lib。
阅读全文
0 0
- 【OSG运行错误】Unhandled exception at 0x7709B872 in XXXX.exe:Microsoft C++exception:std::bad_alloc
- Unhandled exception at 0x00007FFE7BFD8A5C in wb.exe: Microsoft C++ exception: std::out_of_range at m
- Unhandled exception at 0x00007FFE7BFD8A5C in wb.exe: Microsoft C++ exception: std::out_of_range at m
- Unhandled exception at 0x51be3eb5 (RuntimeLib_DX11.dll) in XXXX.exe
- Unhandled exception at 0x747E08B2 in evss.exe: Microsoft C++ exception: xsd:
- Unhandled exception at 0x........ in XXXX.exe: 0xC0000005:Access violation reading location 0x......
- Unhandled exception in al.exe(KERNELBASE.DLL):0xE06D7363:Microsoft C++Exception
- Unhandled exception at 0x in xxx.exe: Privileged instruction.
- 奇怪的 unhandled exception in 0xc0000005 *.exe:、错误
- Unhandled exception in xxxx.exe (MFC42D.DLL):0xC0000005: Access Violation
- vs中,出现Unhanled exception at 0x7617D8A8 in con1.exe: Microsoft C++ exception: cv::Exception at memory
- Unhandled exception at 0x00000000 in CallDll.exe: 0xC0000005: Access violation reading location 0x00
- Unhandled exception at 0x007be7e0 in test.exe: 0xC0000005: Access violation writing location 0x00000
- Unhandled exception at 0x008f9b82 in .exe: 0xC0000005: Access violation reading location 0x00000298.
- opencv2.1 cvWriteFrame出问题 Unhandled exception at 0x0f941f15 in opencv_test.exe: 0xC0000005: Access v
- Unhandled exception at 0x0fd238de in face_rec.exe: 0xC000001D: Illegal Instruction
- Unhandled exception in XX.exe:oxc0000005:access violation 错误调试
- First-chance exception at 0x000007FE86D99B3C in XXXX.exe: 0xC0000005: Access violation reading locat
- oracle 身份证号检查函数
- 装了多个tomcat后,如何修改tomcat端口
- 使用ElasticSearch快速搭建数据搜索服务
- zend studio编辑器打开项目和显示项目
- android水印开发
- 【OSG运行错误】Unhandled exception at 0x7709B872 in XXXX.exe:Microsoft C++exception:std::bad_alloc
- JavaScript 全局变量和局部变量
- Java并发编程相关面试问题-含程序答案
- opencv3.0车牌号字符分割—通过字符的四点定位
- 如何高效阅读代码
- EventBus设置TAG,可以更灵活的发送和接收消息
- axis客户端接收不同参数类型
- 关于域名解析到服务器的问题
- 网卡的若干知识