编译运行ogre程序时“error C3859

Visual Studio 2005编译Ogre:

错误报告:

编译运行ogre程序时“error C3859: virtual memory range for PCH exceeded; please recompile with a command line option of '-Zm128' or great

解决方案:

VS 2005的project-->属性-->C/C++-->命令行-->附加选项中添加 /Zm2000,其实只要/Zm之后跟的值比报错的大就可以了


你可能感兴趣的:(编译运行ogre程序时“error C3859)