Add Announcement Here

setting up Ubuntu 12 for Gamestool development

setting up Ubuntu 12 for Gamestool development

Like the OS X guide, this one hopes to walk you through all the steps needed to get a fresh OS install up speed for developing with the gamestool.

Edited By: stu
Mon-10-12 02:24:53

stu
useravatar
Offline
680 Posts
User info in posts
Administrator has disabled public posting

Re: setting up Ubuntu 12 for Gamestool development

For this procedure I've gone with Ubuntu 12.04 32 bit (12.10 runs like poo).

To get the ball rolling lets go over the easiest steps; install Eclipse and Mercurial through the software manager, just crack it open and search for the afore mentioned software.

As of writing Eclipse is at 3.7 and Mercurial is at 1.9.

stu
useravatar
Offline
680 Posts
User info in posts
Administrator has disabled public posting

Re: setting up Ubuntu 12 for Gamestool development

i have eclipse 3.8 installed

ian96
useravatar
Offline
7 Posts
User info in posts
Administrator has disabled public posting

Re: setting up Ubuntu 12 for Gamestool development

Hi Ian, that shouldn't really be a problem. I'm using 4.2 in OSx and it's pretty similar. There may be some places where options are different however (another reason GUIs suck).

stu
useravatar
Offline
680 Posts
User info in posts
Administrator has disabled public posting

Re: setting up Ubuntu 12 for Gamestool development

Now install boost. This is also super simple with the package manager. So crack open the terminal, and enter in 'apt-get install libboost-dev' to get your stuff.

stu
useravatar
Offline
680 Posts
User info in posts
Administrator has disabled public posting

Re: setting up Ubuntu 12 for Gamestool development

the google testing framework isn't as simple because you can't get it from the package manager. You'll need to follow this guide to download and compile the lib:
http://code.google.com/p/tonatiuh/wiki/ … stForLinux

You'll need to install cmake (which isn't installed along with eclipse), and then use it to configure the make files. Then build it with good ol make.

Once that's done, you'll need to put your headers and lib somewhere. I'm getting rather fond of using symbolic links, which I think should be a common approach for eclipse. I've added the shared directory to the project, so if you didn't put the includes and lib into a directory that your system search by default (IE /usr/include) you'll need to add a symbolic link:

Code:

$ln -s /your_lib_dir eclipse/linux-3.6/lib/some_name

stu
useravatar
Offline
680 Posts
User info in posts
Administrator has disabled public posting

Board Info

Board Stats:
 
Total Topics:
246
Total Polls:
0
Total Posts:
475
Dormant:
User Info:
 
Total Users:
7
Newest User:
ian96
Members Online:
0
Guests Online:
20

Online: 
There are no members online

Forum Legend:

 Topic
 New
 Locked
 Sticky
 Active
 New/Active
 New/Locked
 New Sticky
 Locked/Active
 Active/Sticky
 Sticky/Locked
 Sticky/Active/Locked
gamestool, Powered by Joomla! and designed by SiteGround Joomla Templates