There are a few things that you'll have to do before compiling Frost.
The first one is to download a copy of the Ogre3D 1.6.4 sources
and install it as described below.
Then, there is a very little change to do : copy and paste the file OgreMain/include/OgreGpuCommandBufferFlush.h
(from where you installed Frost) into the OgreMain/include
folder from where you installed Ogre3D.
Final step : compile Ogre... or if you're lazy (which is perfectly understandable), download these precompiled dlls
I've made (23Mo, use 7Zip
to unpack). It will only work if you have gcc 4.4
from MinGW. Else can upgrade your MinGW, or to compile Ogre by yourself (both can take ages, I warn you
). For more details in this case, see Ogre3D's website
, and good luck.
Now, compiling Frost.
The Code::Blocks project file is configured for my computer.
It supposes that you have the following folder hierarchy :
- some root folder where you put all your programming stuff
- Frost (where you extracted the source code and the dependencies)
- bin (wher you copy OgreMain.dll, RenderSystem_Direct3D9.dll and RenderSystem_GL.dll)
- ogre (where you installed the Ogre3D engine)
- OgreMain (where you put OgreGpuCommandBufferFlush.h
Remember that you'll need to compile the Utils
library first, then XML
, then Frost
Else you'll get undefined references
You'll also need library and header files for OIS and Lua.
You are supposed to install and compile these libraries by yourself, but for convenience I've zipped my files for you here
Just extract this into the Frost directory.
You're now ready to compile everything
Tell me if something goes wrong.