Compiling Ember On Win32
Contents
Requirements
-64bit Windows 7 SP1 or newer -at least 4GB RAM (2GB may work too, but not recommended) -at least 20GB HDD space on C: drive (Visual Studio needs lot of space)
Clean the environment
cmake has problems in makefiles with space characters in directory names like "c:\program files\", install everything without spaces!
To reduce problems:
- rename BOOST_ROOT, BOOST_INCLUDEDIR, BOOST_LIBRARYDIR environment variables.
- rename OGRE_HOME, OGRE_DEPENDENCIES_DIR environment variable.
After the build of the dependencies, you can rename it back.
if you find any other conflicts, please update the list.
Install Visual Studio 2017 Community edition
Install Git
- Download https://git-scm.com/download/win
- Select "Git Bash Here"
- Execute following command in the commandline to add git and bash to the PATH environment variable:
setx path "%path%;C:\Program Files\Git\bin\" (Requires windows logout to activate)
Get Hammer
To get hammer type:
git clone https://github.com/sajty/hammer.git cd hammer
Install dependencies
To install all needed dependencies into msys build environment execute:
./mingw_install_deps.sh
Getting the source
Next we will download all the sources for the Worldforge projects and all needed libraries. Execute this command to begin:
./hammer.sh checkout libs ./hammer.sh checkout ember
Building
Now we are ready to build! Just execute this command:
./hammer.sh build libs ./hammer.sh build ember