17.2. On Linux
Linux compilation
On a freshly installed Ubuntu :
Get the tools :
sudo apt-get install gcc g++ make upx electric-fence libsdl1.2-dev mercurial
Get the latest sources :
hg clone https://bitbucket.org/jice/libtcod
Compile the library :
cd libtcod/
make -f makefiles/makefile-linux clean all
Compile the samples :
make -f makefiles/makefile-samples-linux
Enjoy :
./samples_cpp