摘要: Building a simple "hello world" Ogre application can take several seconds on a modern machine. Even when you haven't added your own code yet.This waste of timebreaks your workflowmakes experimentation difficultis unnecessaryThe solution: use precompiled headers in Visual Studio.On an a 阅读全文
posted @ 2013-06-27 09:52 马语者 阅读(644) 评论(0) 推荐(0) 编辑
摘要: 在工程上单击右键,属性,C/C++,最后一项,命令行,在里面/Zm200或者编译器提示的大小解决. 阅读全文
posted @ 2013-06-27 09:49 马语者 阅读(5240) 评论(0) 推荐(0) 编辑
摘要: 这两天学习OGRE,遇到"OgreOverlaySystem.h": No such file or directory的错误。这是由于OGRE提供的例子过老,和SDK版本不一致造成的。在项目的附加包含目录中添加OgreOverlaySystem所在路径即可:$(OGRE_HOME)\include\OGRE\Overlay 。在SDK1.8.1下测试通过。另外如果使用1.9版SDK,还会遇到其他错误,新手就不要浪费时间了。 阅读全文
posted @ 2013-06-27 09:12 马语者 阅读(2421) 评论(1) 推荐(0) 编辑
摘要: 在网上找了好多方法都不行,最后用下面方法解决了。修改VS目录下的\VC\bin\cl.exe 的兼容性设置,取消兼容模式和以管理员身份运行即可。 阅读全文
posted @ 2013-06-27 09:06 马语者 阅读(5524) 评论(0) 推荐(0) 编辑