PDA

View Full Version : libJPEG v6b for Wii/GC



wraggster
April 8th, 2008, 01:15
News/release from DSBomb (http://www.tehskeen.com/forums/showthread.php?p=28556#post28556)


I spent a bit of time tweaking softdev's port of libjpeg. I'm no makefile expert, so I wasn't able to tweak it enough (yet) to do the proper building in one sweep. So I cludged together a little make.sh script to make and install it all. It uses the Makefile templates from r14 devkitpro (somewhat). I see some rules to build libs in the base_rules files, but I haven't gotten it work quite right yet.

It will install to your $DEVKITPRO directory. To use it with the r14 template Makefile in your own project, just add "-ljpeg" to the LIBS line, and "$(DEVKITPRO/libjpeg/lib/wii" (or cube) to the LIBDIRS line. Take a look at the makefiles in the jpg-example.tar.bz2 archive.

I also included already built files in libjpeg-bin.tar.bz2. Unpack it to your $DEVKITPRO directory.

Let me know if it works for anybody else.

Download and Give Feedback Via Comments