Here is a Makefile for building various portlibs for 3DS.
Type:
$ make
or:
$ make all
to download and install all the libraries at once.
You can build and install the libraries separately:
$ make zlib
$ make install-zlib
$ make <targets>
$ make install
This will install the portlibs to $DEVKITPRO/portlibs/armv6k
. If this is a
privileged location, you will need to sudo make install-zlib
and sudo make install
in order for the portlibs to be installed.
Currently supports the following portlibs:
- freetype (requires zlib)
- libexif
- libjpeg-turbo
- libpng (requires zlib)
- sqlite
- zlib
Download links:
- [freetype-2.5.5.tar.bz2] (http://download.savannah.gnu.org/releases/freetype/freetype-2.5.5.tar.bz2)
- [libexif-0.6.21.tar.bz2] (http://sourceforge.net/projects/libexif/files/libexif/0.6.21/libexif-0.6.21.tar.bz2/download)
- [libjpeg-turbo-1.4.0.tar.gz] (http://sourceforge.net/projects/libjpeg-turbo/files/1.4.0/libjpeg-turbo-1.4.0.tar.gz/download)
- [libpng-1.6.17.tar.xz] (http://prdownloads.sourceforge.net/libpng/libpng-1.6.17.tar.xz?download)
- [sqlite-autoconf-3081002.tar.gz] (http://www.sqlite.org/2015/sqlite-autoconf-3081002.tar.gz)
- [zlib-1.2.8.tar.gz] (http://prdownloads.sourceforge.net/libpng/zlib-1.2.8.tar.gz?download)