Open Terminal and type/paste this:
sudo apt-get install muon
Go to /usr/share/applications and find Muon Package Manager
Open Muon Package Manager.
Type/paste g++, select g++ package,
right mouse button click, click Mark for Installation.
Same with cmake-qt-gui,
codeblocks,
git,
libboost-wave-dev,
libboost-system-dev,
libboost-filesystem-dev,
libboost-thread-dev,
libogre-1.9-dev,
libmygui-dev,
libsdl2-dev,
libogg-dev,
libopenal-dev,
libvorbis-dev,
libbullet-dev
libbullet-extras-dev
libenet-dev
Click Apply Changes button.
Open Terminal and type/paste this:
- {l Code}: {l Select All Code}
git clone --depth=1 git://github.com/stuntrally/stuntrally.git stuntrally
Then type/paste this:
cd stuntrally/data
Then type/paste this:
- {l Code}: {l Select All Code}
git clone --depth=1 git://github.com/stuntrally/tracks.git tracks
Go to /home/user/stuntrally and create new folder, call it build.
Go to /usr/share/applications and find CMake.
Open CMake.
Type/paste /home/user/stuntrally in Where is the source code
Type/paste /home/user/stuntrally/build in Where to build the binaries
Click Configure, select CodeBlocks - Unix Makefiles.
Click Finish, then Generate.
Go to /home/user/stuntrally/build.
Open file StuntRally.cbp.
Click build there.
Copy stuntrally, sr-editor files to /home/user/stuntrally/proj
Run stuntrally or sr-editor .
Code::Blocks IDE like Visual Studio IDE in OS Windows.
Stuntrally, sr-editor files are big in size.
For Debug, Compiler Flags better to use:
Produce debugging symbols [-g]
For Release, Compiler Flags better to use:
Strip all sybols from binary (minimize size) [-s]
Optimize even more (for speed) [-O2]