Started by eldorico, July 15, 2013, 03:35:51 PM
0 Members and 1 Guest are viewing this topic.
QuoteLibraries needed:libz http://www.zlib.net/(external link)bzip2 http://www.bzip.org/(external link)libpng http://www.libpng.org/pub/png/(external link) for makeobjlibSDL and libSDL_mixer http://www.libsdl.org/(external link) for SDLAllegro http://www.talula.demon.co.uk/allegro/(external link) (or http://alleg.sourceforge.net/index.de.html)(external link) for AllegroNote: on Debian/Ubuntu -dev versions of libraries has to be installed separately.For all other systems, it is recommended you get the latest GCC and matching zlib, and libpng and a game library. For unix system you may have to use tools like apt-get or yast.It is recommended that you always use the latest source version.
QuoteCompiling with GCCGo to Simutrans/sim.Then copy the file sim/config.template to sim/config.default and edit the file. You need to specify: - frontend (gdi, allegro, sdl) - color depth (usually 16) - system (you should know it)I recommend to uncomment #DEBUG=1 and #OPTIMISE = 1 (i.e. removing the #).For allegro or libsdl you may need to define the path of the config file (or at least on Win98 and empty path).Finally type make. If you want a smaller program and do not care about error messages, you can comment out #DEBUG=1 and run strip sim resp. strip sim.exe after compile and linking.
Quote/dataobj/loadsave.cc:183: undefined reference to `BZ2_bzReadOpen'
QuoteEDIT: i386:x86-64 architecture of input file `obj/Debug/aburch-simutrans-71a395c/bauer/brueckenbauer.o' is incompatible with i386 output