Ogre小虫

  C++博客 :: 首页 :: 联系 :: 聚合  :: 管理
  2 Posts :: 0 Stories :: 0 Comments :: 0 Trackbacks

常用链接

留言簿(19)

我参与的团队

搜索

  •  

最新评论

阅读排行榜

评论排行榜

2013年10月9日 #

   
   今天将OGRE1.7.4升级为1.8.1,运行时出现这样的错误。

Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention. 

   下面这行出错了   
CEGUI::OgreRenderer::bootstrapSystem(*mRoot->getRenderTarget(WINDOW_TITLE));
   
   搜了一下这里给出了答案http://cegui.org.uk/forum/viewtopic.php?f=10&t=5951
   好吧,CEGUIOgreRenderer 模块当时用的ogre1.7编译的,而现在ogre换成1.8应该从新编译CEGUIOgreRenderer 。
posted @ 2013-10-09 16:59 zhou_yang 阅读(177) | 评论 (0)编辑 收藏

2013年10月8日 #

       
      主要参考了这篇文章:http://www.cnblogs.com/songliquan/p/3336805.html

      由于需要结合ogre,所以需要编译“CEGUIOgreRenderer-0”工程。在cmake选择工程时注意勾选下面选项。

      

      make完毕,用vs2010打开工程后会看到 “CEGUIOgreRenderer-0”工程,将此工程的ogre及boost的include,lib路径配置好即可编译。

            
      






posted @ 2013-10-08 11:23 zhou_yang 阅读(811) | 评论 (0)编辑 收藏