Skip to content

Compiling

HerbFargus edited this page Apr 23, 2016 · 11 revisions

Compiling Atomic Bomberman for Linux

Dependencies

automake gcc libsdl1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsigc++-1.2-dev

Compile with Cmake

mkdir build && cd build && cmake .. && make

sldsound:

wget http://icculus.org/SDL_sound/downloads/SDL_sound-1.0.1.tar.gz | tar -zxvf SDL_sound-1.0.1.tar.gz
cd SDL_sound-1.0.1
./configure
make
sudo make install

PATCHES:

copy or symlink all SDL files from /usr/include/SDL to /usr/local/include/SDL

Add header #include <cstdlib> to filefinder.cpp and soundlist.cpp

Fix classes in render.h

    Render();
    virtual ~Render();

SigC++ Fixes:

Install signal_system.h in /usr/include/sigc++-1.2/sigc++ from

http://apt-browse.org/browse/debian/wheezy/main/i386/libsigc++-dev/1.0.4-9.4/file/usr/include/sigc++-1.0/sigc++/signal_system.h

and also install sigcconfig.h from https://sourceforge.net/projects/sigslot/

and copy to src

Basically copy all the source code files from here: https://sourcecodebrowser.com/libsigcplus-pplus-p/1.0.4/basic__signal_8h_source.html

Build Makefiles:

autoreconf -i

./configure make install

Clone this wiki locally