-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),确定。
编译ogre项目时,出现“error C3859: virtual memory range for PCH exceeded”
最新推荐文章于 2022-02-25 19:38:17 发布