剑痴乎

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

Ogre学习笔记(2)

2014年3月10日 1117点热度 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

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

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

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理。

版权声明

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

最近评论
ztt 发布于 3 周前(04月05日) 你好,想看里面的视频和图片为什么没有显示呢?需要下flash吗还是什么。
huowa222 发布于 1 个月前(03月26日) 同问
邱国禄 发布于 2 个月前(02月17日) Receive Delta以0.25ms为单位,reference time以64ms为单位,kDe...
啊非 发布于 4 个月前(12月30日) 大神,请教一个问题: constexpr int kBaseScaleFactor = Tran...
啊非 发布于 4 个月前(12月30日) reference time:3字节,表示参考时间,以64ms为单位,但是 代码里面是 Trans...
相关文章
  • Ogre中阴影设置问题
  • Ogre中的场景文件
  • Ogre中加入声音
  • Ogre中的粒子系统(Particle System)
  • Ogre中简单的AABB碰撞检测

COPYRIGHT © 2024 jianchihu.net. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang