查看: 1220|回复: 2

osgBullet运行时报错

[复制链接]

该用户从未签到

发表于 2014-5-12 10:38:07 | 显示全部楼层 |阅读模式
我在把osgBullet添加到自己的工程使用时,下面这段代码运行时报错:
btDefaultCollisionConfiguration* collisionConfiguration = new btDefaultCollisionConfiguration();
    btCollisionDispatcher* dispatcher = new btCollisionDispatcher( collisionConfiguration );

    btVector3 worldAabbMin( -10000, -10000, -10000 );
    btVector3 worldAabbMax( 10000, 10000, 10000 );
    btBroadphaseInterface* inter = new btAxisSweep3( worldAabbMin, worldAabbMax, 1000 );

    btCollisionWorld* collisionWorld = new btCollisionWorld( dispatcher, inter, collisionConfiguration );
执行到btBroadphaseInterface* inter = new btAxisSweep3( worldAabbMin, worldAabbMax, 1000 );这句时报:
Critical error detected c0000374
Windows has triggered a breakpoint in xxx.exe.

This may be due to a corruption of the heap, which indicates a bug in xxx.exe or any of the DLLs it has loaded.

This may also be due to the user pressing F12 while xxx.exe has focus.
这是什么原因?谢谢大家给点指导意见!

该用户从未签到

发表于 2014-5-16 17:44:04 | 显示全部楼层
可能是工程配置中存在的问题

该用户从未签到

 楼主| 发表于 2014-5-17 09:41:34 | 显示全部楼层
array 发表于 2014-5-16 17:44
可能是工程配置中存在的问题

我也猜是配置的问题,不过就是不知道是哪方面的问题了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

OSG中国官方论坛-有您OSG在中国才更好

网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。

联系我们

  • 工作时间:09:00--18:00
  • 反馈邮箱:1315785073@qq.com
快速回复 返回顶部 返回列表