Compilation how to
Compilation how to
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
Slash, Flame, Robber, Missle
Re: Compilation how to
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.
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.
Re: Compilation how to
Type this in a console and you should get all the needed packages:
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.
Code: Select all
sudo apt-get install make gcc libc6-dev libncurses5-dev xorg-dev libsdl1.2-dev libsdl-mixer1.2-dev
Then just unpack the TomeNET source and go run 'make' and 'make install' in the 'src' directory.