The instructions below will guide you through downloading and setting up the fife engine as well as the fife-tutorials.
- Download the FIFE 0.3.4 win32 installer from sourceforge and run the installer
- Checkout the fife-tutorials trunk to the location
<path-to-fife>/tutorials
- Execute the script
<path-to-fife>/build/win32/update_project_files.bat - Navigate to
<path-to-fife>/build/win32/build_environments/visual_studio_#where # is the version of visual studio you are using - Open the solution
fife_engine.sln - Go to the build configurations menu within visual studio and select either the
Debug_staticorRelease_staticconfiguration - Build the solution and make sure no errors occurred
- Navigate to
<path-to-fife>/tutorials/build/and choose the directory based on which version of visual studio you are using - Open the solution (.sln) file within the directory
- Set the build configuration within visual studio to either "Debug" or "Release" to correspond to how FIFE was built
- Build solution and make sure no errors occurred
TBD
#Linux Install
- Download the latest FIFE source code and extract it. Be sure to have all the build dependencies installed.
- Extract the source and change directory into the source dir.
fife_0.3.4for example. - Next
cd ext/guichan && ./configure && make && sudo make install && cd -. You have to have guichan installed in/usr/localfor the cmake file to work properly. If you usescons extyou'll need to modify theCMakeLists.txtfile with the proper paths. - Type:
sudo scons install-dev. Once that is complete you should have a good copy of the fife library in/usr/local/lib - Clone this repository.
git clone https://github.com/fifengine/cpp-tutorials.git cd cpp-tutorials/src/tutorial_1cmake .make- Assuming that all went well go ahead and run the tutorial:
./Tutorial1