剑痴乎

  • 首页
  • 文章分类
    • 音视频
    • WebRTC
    • 编程之美
    • Linux
    • Windows
    • 生活点滴
    • 校园生活
  • 参考
    • API参考
    • 实用工具
    • 测试音视频
    • 文档
  • 留言板
  • 关于
剑痴乎
代码为剑,如痴如醉
  1. 首页
  2. 编程之美
  3. 正文

Ogre学习笔记(2)

2014年3月10日 204点热度 0人点赞 0条评论

为了进一步学习,今天下了个Advanced Ogre Framework代码,而不用以前的baseapplication框架,代码在release下顺利运行,然而在debug时却出现了下面这种情况

ogre-empty-config-dialog

也就是配置对话框是空白的,不能进行配置,导致无法进一步运行,想了好久,也不知道为什么,看了下plugins_d.cfg也没发现什么问题,这时候也只能靠谷歌了,在ogre config dialog empty? (solved)这里找到了答案,是这样回答的:

Re: ogre config dialog empty?
Postby trueleowdeo » Sat Mar 27, 2010 4:35 pm

i have had a similar problem. (am using ogre 1.7)
You will notice that if you compile in release mode, instead of debug mode, your config dialog is OK.
solution i used
Ogre seems to need a plugins.cfg file in BOTH the bin and debug folders of OGRE_HOME
the problem is that the plugins file for debug is named plugins_d.cfg (instead of plugins.cfg). Copy this file and rename the copy to plugins.cfg
PS
I thought that debug builds would use plugins_d.cfg but some how they still need to use plugins.cfg which by the way must contain debug dlls eg RenderSystem_GL_d.dll and not RenderSystem_GL.dll.
Notice the "d" for debug

也就是在release模式下配置对话框正常,debug模式下不正常,这是因为在debug文件中,插件配置文件名为plugins_d.cfg,而不是
plugins.cfg,Ogre在项目的bin与OGRE_HOME debug文件下都需要plugins.cfg,复制plugins_d.cfg重命名为plugins.cfg就可以了。

按此解决方法,我在sdk/bin/debug下面复制重命名了一个plugins.cfg,然后点击exe文件,对话框正常了,可以进行配置了。

本作品采用 知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议 进行许可
标签: OGRE
最后更新:2018年12月23日

Jeff

管理员——代码为剑,如痴如醉

打赏 点赞
< 上一篇
下一篇 >

文章评论

取消回复

我的其它小窝

公众号:码上Play(基本不更新,回答问题用。如果没回复就多发几次,忙的时候可能会看不到。)

近期评论
  • 头像lingjzhang on WebRTC研究:Trendline滤波器-TrendlineEstimator我个人一直很好奇threshold_gain_参数…
  • 头像lingjzhang on WebRTC研究:Trendline滤波器-TrendlineEstimator你好,我这边看modified_trend的计算公…
  • 头像Jeff on 大话WebRTC是的
  • 头像tube on 大话WebRTC这个人抄袭你的吧:https://develope…
  • 头像vivi on WebRTC 安卓Native code编译问题sudo update-alternatives…
版权声明

为支持原创,创作更好的文章,未经许可,禁止任何形式的转载与抄袭,如需转载请邮件私信!本人保留所有法定权利。违者必究!

相关文章推荐
  • Ogre中阴影设置问题
  • Ogre中的场景文件
  • Ogre中加入声音
  • Ogre中的粒子系统(Particle System)
  • Ogre中简单的AABB碰撞检测

COPYRIGHT © 2021 剑痴乎. ALL RIGHTS RESERVED.

THEME KRATOS MADE BY VTROIS