Created attachment 3006[details]
A patch for Sconscript.curl that fixes compilation on 64bit Linux systems
Building doom3 on amd64 Linux (tested Debian Squeeze) currently fails, because of two reasons:
* libcurl isn't built with -m32
* libcurl's scons-script returns /usr/lib/libz.a (and it's own libs) - on a 64bit system it should be /usr/lib32/libz.a, though.
I fixed this, see attached patch.
Cheers,
- Daniel
Created attachment 3010[details]
An updated version of the patch, should be more portable
The old patch had problems on broken distributions like red hat, suse and ubuntu, which seem to store the 32bit libz.a on strange places (see discussions at https://github.com/TTimo/doom3.gpl/pull/11 and https://github.com/TTimo/doom3.gpl/issues/16 )
The updated version fixes this problem by just compiling doom3 with -lz instead of linking in libz.a
Created attachment 3006 [details] A patch for Sconscript.curl that fixes compilation on 64bit Linux systems Building doom3 on amd64 Linux (tested Debian Squeeze) currently fails, because of two reasons: * libcurl isn't built with -m32 * libcurl's scons-script returns /usr/lib/libz.a (and it's own libs) - on a 64bit system it should be /usr/lib32/libz.a, though. I fixed this, see attached patch. Cheers, - Daniel
Created attachment 3011 [details] zip file that includes the patched win_nanoafx.h