Page 1 of 1

Compiling SuperTux on Ubuntu, The (Really) Easy way!

PostPosted: 02 Feb 2013, 04:11
by KRC1023
This is a guide written for people who have never compiled anything before, So i have tried to make it using as little technical mumbo jumbo as possible :)

So, We start by installing dependencies:

{l Code}: {l Select All Code}
sudo apt-get build-dep supertux


Then (If you haven't already) Install Git:

{l Code}: {l Select All Code}
sudo apt-get install git


Then Download the source code:

{l Code}: {l Select All Code}
git clone http://www.code.google.com/p/supertux


When That finishes, go to the Source Directory (In your home folder):

{l Code}: {l Select All Code}
cd ~/supertux


Then run CMake (If you don't know what this is, Don't worry)

{l Code}: {l Select All Code}
cmake .


Then do the compile: (This is easy...)

{l Code}: {l Select All Code}
make


Then just type

{l Code}: {l Select All Code}
./supertux2


And if the compile was sucsessful, It should Launch!

Also, A file called supertux2.desktop should appear in the source folder (At least it did for me) And you can click on it/add it to the launcher/menu/etc to launch the game from a graphical environment.

Note: If, On launching the game, you just get a blank black window (Especially the first time) Wait a few seconds and the game should come up.

Instructions for the editor should be coming soon too!

Hope this helps at least one person, Because my last couple of posts haven't been very helpful...
Anyway, if anyone has problems, Tell me.

There will probably be problems, Because i did this tutorial mostly from memory with no testing!

If no one has problems, I will be genuinely impressed with myself!

Re: Compiling SuperTux on Ubuntu, The (Really) Easy way!

PostPosted: 10 Sep 2013, 20:56
by KRC1023
Am I the only person who has used this?
I know I made it, but I still find it very useful...

Re: Compiling SuperTux on Ubuntu, The (Really) Easy way!

PostPosted: 11 Sep 2013, 01:05
by ctdabomb
KRC1023 {l Wrote}:Am I the only person who has used this?
I know I made it, but I still find it very useful...

It's the same way I do/did it.
KRC1023 {l Wrote}:Instructions for the editor should be coming soon too!

A lot of people would like this.

Re: Compiling SuperTux on Ubuntu, The (Really) Easy way!

PostPosted: 16 Sep 2013, 15:50
by KRC1023
I finally have ubuntu on my main computer, so I can work on the editor instructions more.

Re: Compiling SuperTux on Ubuntu, The (Really) Easy way!

PostPosted: 23 Nov 2013, 17:13
by KRC1023
Yeah, about the editor instructions...
Still working on it :)

Re: Compiling SuperTux on Ubuntu, The (Really) Easy way!

PostPosted: 03 Jan 2014, 22:41
by Mr. Hilter
Still no editor?

Re: Compiling SuperTux on Ubuntu, The (Really) Easy way!

PostPosted: 05 Jan 2014, 22:44
by KRC1023
Still trying to decipher how I got it working through about 10 tries, some combination of that worked... I'm gradually cutting it down until I find something that breaks it and when I do I know that that part is needed.

It is absolute HELL.

I'll get it done though...

Re: Compiling SuperTux on Ubuntu, The (Really) Easy way!

PostPosted: 06 Jan 2014, 16:49
by ctdabomb
Well thanks for doing this, good luck!