查看: 2925|回复: 2

【求助】OSG调用OpenGL32.dll崩溃问题

[复制链接]

该用户从未签到

发表于 2012-9-21 09:49:13 | 显示全部楼层 |阅读模式
本帖最后由 xulin_2005 于 2012-9-21 10:39 编辑

在Server 2003环境下装的OSG编译环境,在XP下执行没有问题,但在Server 2003下发现了这个问题,执行到glDrawArrays的地方就崩溃掉了。(具体请见图)

glDrawArrays(_mode,_first,_count);
参数值:
_mode = 7;
_first = 0;
_count = 4;

调试信息中报:
Errors: glGenBuffers not supported by OpenGL driver
Errors: glBindBuffer not supported by OpenGL driver
Errors: glBufferData not supported by OpenGL driver

是否是英文这些不支持导致glDrawArrays函数执行失败,请哪位高人指点一下,谢谢~~

==================================================
显卡驱动是:NVIDIA geForce GT 240
相关贴图
glDrawArrays崩溃问题.jpg
glDrawArrays崩溃问题_1.jpg

堆栈调用:
>
  1. osg80-osgd.dll!osg::DrawArrays::draw(osg::State & state={...}, bool __formal=false) 行61 + 0x1d 字节 C++
  2. osg80-osgd.dll!osg::Geometry::drawImplementation(osg::RenderInfo & renderInfo={...}) 行1122 + 0x17 字节 C++
  3. osg80-osgd.dll!osg::Drawable::draw(osg::RenderInfo & renderInfo={...}) 行914 + 0x13 字节 C++
  4. osg80-osgUtild.dll!osgUtil::RenderLeaf::render(osg::RenderInfo & renderInfo={...}, osgUtil::RenderLeaf * previous=0x01b38c28) 行63 + 0x19 字节 C++
  5. osg80-osgUtild.dll!osgUtil::RenderBin::drawImplementation(osg::RenderInfo & renderInfo={...}, osgUtil::RenderLeaf * & previous=0x01b38c28) 行479 + 0x19 字节 C++
  6. osg80-osgUtild.dll!osgUtil::RenderStage::drawImplementation(osg::RenderInfo & renderInfo={...}, osgUtil::RenderLeaf * & previous=0x01b38c28) 行1398 C++
  7. osg80-osgUtild.dll!osgUtil::RenderBin::draw(osg::RenderInfo & renderInfo={...}, osgUtil::RenderLeaf * & previous=0x01b38c28) 行424 + 0x17 字节 C++
  8. osg80-osgUtild.dll!osgUtil::RenderStage::drawInner(osg::RenderInfo & renderInfo={...}, osgUtil::RenderLeaf * & previous=0x01b38c28, bool & doCopyTexture=false) 行933 C++
  9. osg80-osgUtild.dll!osgUtil::RenderStage::draw(osg::RenderInfo & renderInfo={...}, osgUtil::RenderLeaf * & previous=0x01b38c28) 行1237 + 0x1b 字节 C++
  10. osg80-osgUtild.dll!osgUtil::SceneView::draw() 行1443 + 0x37 字节 C++
  11. osg80-osgViewerd.dll!osgViewer::Renderer::draw() 行725 + 0xf 字节 C++
  12. osg80-osgViewerd.dll!osgViewer::Renderer::operator()(osg::GraphicsContext * context=0x022ebbb0) 行892 + 0xf 字节 C++
  13. osg80-osgd.dll!osg::GraphicsContext::runOperations() 行756 + 0x33 字节 C++
  14. osg80-osgd.dll!osg::RunOperations::operator()(osg::GraphicsContext * context=0x022ebbb0) 行138 C++
  15. osg80-osgd.dll!osg::GraphicsOperation::operator()(osg::Object * object=0x022ebbb0) 行53 + 0x19 字节 C++
  16. osg80-osgd.dll!osg::OperationThread::run() 行426 + 0x26 字节 C++
  17. osg80-osgd.dll!osg::GraphicsThread::run() 行41 C++
  18. ot12-OpenThreadsd.dll!OpenThreads::ThreadPrivateActions::StartThread(void * data=0x022f067c) 行113 + 0xf 字节 C++
  19. msvcr80d.dll!_callthreadstartex() 行348 + 0xf 字节 C
  20. msvcr80d.dll!_threadstartex(void * ptd=0x022f0f40) 行331 C
复制代码

该用户从未签到

发表于 2012-9-21 10:31:12 | 显示全部楼层
问题很明确了:
Errors: glGenBuffers not supported by OpenGL driver
Errors: glBindBuffer not supported by OpenGL driver
Errors: glBufferData not supported by OpenGL driver

该用户从未签到

发表于 2012-9-21 15:37:07 | 显示全部楼层
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

联系我们

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