gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Building zlib?

#173118 - 3dfx - Tue Mar 23, 2010 1:59 am

Sorry for the noobishness, but I followed this thread http://forum.gbadev.org/viewtopic.php?t=16876 on a zlib bug (which I'm facing myself and am trying to correct by rebuilding) and I dont really know what to do. I fire up msys and change to the zlib directory and type "./configure" followed by make and it creates the library file which I copy over to libnds/lib but after this, I try to compile my project and I get linker errors to zlib functions so I'm guessing I did this wrong. The zlib download at the portlibs page works fine of course (other than the bug)l.

#173120 - wintermute - Tue Mar 23, 2010 11:21 am

Pay particular attention to this post http://forum.gbadev.org/viewtopic.php?p=170380#170380

As for the "bug", it seems that zlib is not compatible with gzip compressed files, you'll need to build a native zlib and compression tools.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog

#173146 - 3dfx - Wed Mar 24, 2010 4:09 am

Thanks wintermute. I could've sworn I typed it in exactly as you put it, but this time i double checked and all is fine.