In year 3547, civilizations all over the galaxy have settled their own planets, living in peace and harmony with its environment. But outside the contemplative habitats, the GREAT WAR is raging. As a famous fighter on your way to never ending honor and prosperity, you have to protect your planet from the oncoming doom of your jealous neighbours! Please post all support issues in the forums for the game.
How to quickly build M.A.R.S. on Ubuntu distribution?
Posted by feillyne on Apr 20th, 2011
So how to quickly build M.A.R.S on Ubuntu?
Using Terminal, first you need to obtain a CMake package:
Then obtain the SFML2 (Simple And Fast Media Library) dependencies:
Third, the SFML2 package itself:
(Warning, it may download without showing the exact file time/size remaining. It should be around 10MB)
Now you can extract the contents of the archive somewhere, for example to your desktop and open the Terminal in that folder or write:
Still having Terminal open, you need to create a make file using CMake to compile & install SFML2:
Now, the M.A.R.S. itself. You need to download source files of the latest stable version (0.7.1):
As above, you can extract it anywhere, for example, on your desktop. Then open up a new Terminal window in the build folder, or go to the folder with a command:
And now we'll create a M.A.R.S. makefile and compile the M.A.R.S. itself:
(Note the two dots there at the end.)
Finally, you can launch M.A.R.S. by typing:
or simply run the newly created mars executable.
Based on the official tutorial (a forum post) how to compile M.A.R.S., you can check it for a longer version with a couple of additions (how to create a project for CodeBlocks, etc.):