Robots w/Lasers

April 12, 2006

libpng for DS

Ok, I’ve packged up libpng and zlib for use on the DS. I also included a small makefile which should build both of them and install them for use. Please let me know if it does not work for you.

http://davr.org/ds2/libpng_ds.tgz

Basically, I only had to comment out one line in libpng (but man did it take me a while to find that line), in the png_zalloc() function, and then I changed the makefiles to use arm-elf-gcc instead of gcc (same for ranlib, ar)

Filed under: Draw,Nintendo DS — davr @ 11:16 am

2 Comments »

  1. Could you post an example of use?

    Comment by nornagon — September 14, 2006 @ 12:46 am

  2. How big is the compiled library? and does it let you override the memory allocation stuff it uses?

    Comment by punto — February 18, 2007 @ 11:44 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress

Bad Behavior has blocked 817 access attempts in the last 7 days.




Paid Advertisements
British Virgin Islands - Guitar Lessons - Costa Rica - Renegade Motorhome