OGRE Precompiled Header on VS 2010

Posted: August 8, 2011 in Game Programming, OGRE 3D
Tags: ,

Precompiled header is used to boost build time since an OGRE project will take quite long time when it is compiled. A complete tutorial to build precompiled header can be found here. But additional configurations will be needed when Visual Studio 2010 is used.

Right click project -> Properties -> Configuration -> All Configuration, C/C++ -> Precompiled Headers, the configurations will be like this :

Try to build the project and errors will appear:

Right click project (again) -> Configuration -> Active (Debug), C/C++ -> Command Line, add “-Zm134” to Additional Options.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s