Compilation problem of 3.13 and 3.14 on Linux May 31, 2009, 05:43:43 am First, thanks for a great work! Simutrans-experimental is looking really interesting and has many good changes compared to the original.I noticed that 3.13 and 3.14 will not compile on Linux, the same problem was encountered by the automatic binary building script:http://www.43-1.org/~simutrans/simutrans-exp/logs/20090531-0348.logThe solution is simple, in file: simhalt.h, replace line:sint16 haltestelle_t::create_reachable_halt_list(const schedule_t *const sched, const spieler_t *const sched_owner, minivec_tpl<halthandle_t> &halt_list);with:sint16 create_reachable_halt_list(const schedule_t *const sched, const spieler_t *const sched_owner, minivec_tpl<halthandle_t> &halt_list); Quote Selected
Re: Compilation problem of 3.13 and 3.14 on Linux Reply #1 – May 31, 2009, 05:51:38 am Thanks for pointing out, Morg. I have indeed forgotten to remove haltestelle_t:: when I copy the function prototype from simhalt.cc .James, can you fix that for me in simhalt.h? Many thanks in advance! Quote Selected
Re: Compilation problem of 3.13 and 3.14 on Linux Reply #2 – May 31, 2009, 06:17:31 am I noticed other minor issue with Linux binary, the music does not work because sdl is used as backend in the configuration file: http://www.43-1.org/~simutrans/simutrans-exp/config.simutrans-expReplacing this with mixer_sdl solves the problem. Maybe someone could notify the maintainer of the binary build about this? Quote Selected
Re: Compilation problem of 3.13 and 3.14 on Linux Reply #3 – May 31, 2009, 09:42:28 am Morg,thank you very much for the report; I have now fixed the problem, and the fixed version has been pushed to Github. The automatic Linux build should compile in the early hours of to-morrow morning. Sorry that you had trouble.As to the music, Arbruch is the one in charge of the Linux builds. I know that some people, however, have reported performance or stability issues with the MIDI music on SDL (in Simutrans-Standard as well as Simutrans-Experimental), which might be why the music is disabled.Thank you very much for your reports - and also: welcome to the forums :-) I should be very grateful for any further feedback on Simutrans-Experimental that you might be able to give. Quote Selected