编译ogre项目时,出现“error C3859: virtual memory range for PCH exceeded”

来源:互联网 发布:上海淘宝美工学徒 编辑:程序博客网 时间:2024/05/19 04:05

-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),确定。

原创粉丝点击