Posted on 2009-09-15 12:59
heeeey 閱讀(2687)
評論(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),確定。