剑痴乎

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

Ogre学习笔记(2)

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

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

点赞
< 上一篇
下一篇 >

文章评论

取消回复

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据。

版权声明

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

近期评论
  • Richard on WebRTC研究:Encoded Transform楼主你好,图片不见了,可以更新一下嘛?
  • flash91120 on Windows平台WebRTC编译-VS2017楼主,能不能出一期qt上使用webrtc…
  • damon on WebRTC音视频传输基础:NAT穿透太细了,看了眼我自己的笔记,果断直接删除…
  • k on Windows平台WebRTC编译(持续更新)麻烦问一下,我在src文件夹下,运行gn…
  • 小胖子 on WebRTC研究:Transport-cc之RTP及RTCP请教一个问题,在tcc的包里面的base…
相关文章
  • Ogre中阴影设置问题
  • Ogre中的场景文件
  • Ogre中加入声音
  • Ogre中的粒子系统(Particle System)
  • Ogre中简单的AABB碰撞检测

COPYRIGHT © 2022 jianchihu.net. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang