The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: jamespetts on September 18, 2011, 11:04:30 AM

Title: Linux build issue (Makeobj)
Post by: jamespetts on September 18, 2011, 11:04:30 AM
The Linux automatic build for Makeobj Experimental 10.0 has failed with errors in modules not altered in Experimental. The output code is as follows:


===> CC  ../utils/dr_rdpng.c
In file included from ../utils/openttd/png.h:460,
                 from ../utils/dr_rdpng.c:9:
../utils/openttd/pngconf.h:326: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
../utils/openttd/pngconf.h:327: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'include'
make: *** [../build/simutrans-exp/utils/dr_rdpng-makeobj.o] Error 1
make: Leaving directory `/home/simutrans/simutrans-exp/makeobj'


This works with MSVC++ in Windows - does anyone have an idea what the problem might be? I should be grateful for any assistance.
Title: Re: Linux build issue (Makeobj)
Post by: Dwachs on September 18, 2011, 11:20:44 AM
Look here: http://forum.simutrans.com/index.php?topic=8031.0
Title: Re: Linux build issue (Makeobj)
Post by: jamespetts on September 18, 2011, 11:26:31 AM
Hmm - I'm not sure that I fully follow that other post. Was the issue configuration or a bug in the code that has yet to be rectified? If configuration, I am somewhat confused, since the configuration has not changed since 9.12 in this respect.