Posted on 2009-09-15 12:59
heeeey 阅读(2667)
评论(1) 编辑 收藏 引用 所属分类:
ogre
-Zm200
编译时出现如下错误
---------------------------------------------------------------------------------------------------
1>d:\program files\microsoft visual studio 9.0\vc\include\xstring(133) : error C3859: virtual memory range for PCH exceeded; please recompile with a command line option of '-Zm156' or greater
1>d:\program files\microsoft visual studio 9.0\vc\include\xstring(133) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit
---------------------------------------------------
解决方法:
进入工程->点右键->工程属性->c++-〉命令行,在最下边输入-Zm200(根据错误提示,大于156),确定。