Skip to content
davido262 edited this page Nov 13, 2012 · 30 revisions

The project should compile under Linux, Windows and Mac without problems. The following Operating Systems are the ones which have been tested, but installation instructions should not differ too much. If you are testing in another one, please feel free to document the steps required in the same format and send them (credit will be given).

Arch Linux

1. Make sure development software is installed

# pacman -S gcc make cmake git

2. Install dependencies

# pacman -S boost sdl mesa bullet assimp

3. Download from GitHub repository

Navigate to the folder the source code will be downloaded

$ git clone [email protected]:davido262/shoggoth-engine.git

4. Compile and install project

Navigate to the folder where the build will be compiled (preferably outside the source). A typical installation might be like this:

$ cmake ../shoggoth-engine -G "Unix Makefiles"
# make install

OpenSUSE

1. Make sure development software is installed

From YaST check the following: gcc-g++ make cmake-gui git

2. Install dependencies

From YaST check the following: boost-devel libSDL-devel libSDL_image-devel Mesa-devel glew-devel

2.1 Install Bullet Physics

Navigate to the folder where the build will be compiled (preferably outside the source)

$ cmake ../bullet-trunk-rev2600 -G "Unix Makefiles" -DBUILD_EXTRAS=off -DBUILD_DEMOS=off -DINSTALL_LIBS=on
# make install

2.2 Install Open Asset Import Library

Navigate to the folder where the build will be compiled (preferably outside the source)

$ cmake ../assimp--3.0.1270-source-only -G "Unix Makefiles" -DBUILD_ASSIMP_SAMPLES=off
# make install

3. Download from GitHub repository

Navigate to the folder the source code will be downloaded

$ git clone [email protected]:davido262/shoggoth-engine.git

4. Compile and install project

Navigate to the folder where the build will be compiled (preferably outside the source). A typical installation might be like this:

$ cmake ../shoggoth-engine -G "Unix Makefiles"
# make install

Windows

NOTE: not officially supported yet, but should work

1. Make sure development software is installed

2. Install dependencies

2.1 Install Bullet Physics

"C:\Program Files\CMake 2.8\bin\cmake.exe" ..\bullet-trunk-rev2600 -G "Visual Studio 10" -DBUILD_EXTRAS=off -DBUILD_DEMOS=off -DINSTALL_LIBS=on

2.2 Install Open Asset Import Library

3. Download from GitHub repository

4. Compile and install project

Clone this wiki locally