Compilation how to

Discussion about topics that don't fit elsewhere.
Post Reply
matfil
Posts: 12
Joined: Thu Aug 19, 2010 11:00 am

Compilation how to

Post by matfil »

I tried to compile TomeNET but I can't do it because of lacking libs. I'd like to get help what have to be installed before I try to compile TomeNET. (I have minimal Debian without any additional packages to make it compatible with my oldest computer)
My currently active ToMENet characters:
Slash, Flame, Robber, Missle
virus
Posts: 8
Joined: Sun Jan 08, 2012 7:32 pm

Re: Compilation how to

Post by virus »

did the precompiled client not work?

Which libraries are required for compiling depends on what settings you use in the makefile, but generally id guess the most non standard libraries being the libsdl stuff which is required for sound support - but can be opted out.
mikaelh
Developer
Posts: 217
Joined: Sun Dec 13, 2009 3:18 pm

Re: Compilation how to

Post by mikaelh »

Type this in a console and you should get all the needed packages:

Code: Select all

sudo apt-get install make gcc libc6-dev libncurses5-dev xorg-dev libsdl1.2-dev libsdl-mixer1.2-dev
This worked for me with a vanilla Debian 6.

Then just unpack the TomeNET source and go run 'make' and 'make install' in the 'src' directory.
Post Reply