Robots w/Lasers

December 1, 2007

Freetype2 compiled for NDS

Someone was having trouble compiling it, so I threw this together real quick.
See FreeType’s official site for more info on it, but basically it’s a library for rendering nice ttf fonts, and it’s been compiled so that it can run on Nintendo DS. It wont do anything on its own, this is really only useful for homebrew developers who want to include some sort of nice font rendering. (1.2MB)

It’s been compiled with devKitARM r21, no guarantees it will work with any later/earlier version. In fact, no guarantees it will work at all, I haven’t actually tested it…but it compiles without any errors. I had to disable two checks in in the configure script, because it kept getting confused when I told it to compile for arm-eabi.

If anyone uses this, would be nice to know, drop me a line in the comment section.

Filed under: Nintendo DS,Software — davr @ 3:20 pm


  1. I’m trying to configure a leaner build of freetype, but I’m having some trouble compiling as well, any pointers on what I need to do to get it to compile? (the configuration I can handle :P)

    Comment by Jonathan — January 28, 2008 @ 8:35 am

  2. as per the devKitARM maintainer, here is the best way to get configure to run on the current version (hopefully should be fixed in the next version):

    LDFLAGS=-specs=ds_arm9.specs ./configure –host=arm-eabi –prefix=$DEVKITARM

    (change the 9 to a 7, depending on which CPU you are compiling for)

    As far as compiling, I didn’t have to do anything special. Are you getting some errors or something?

    Comment by davr — January 28, 2008 @ 10:05 am

  3. Working with R20 too, i’m working on it yet.

    Comment by oOkami — March 4, 2008 @ 3:46 am

  4. I’ve tried following the readme, but I’m getting the following eror on compiling…

    c:/devkitpro/devkitarm/bin/../lib/gcc/arm-eabi/4.1.2/../../../../arm-eabi/bin/ld.exe: cannot find -lfreetype

    Can anyone tell me what I’ve done wrong?

    Comment by spinal — October 12, 2008 @ 3:42 am

  5. ニンテンドーDS Liteのプログラム開発…

    ニンテンドーDS Lite製品情報 ニンテンドーDS Lite ハードウェア情報 – News! Nintendo iNSIDE – 任天堂ニュースサイト ニンテンドーDS Lite 活用サイト N-Styles – 任天堂 Wii DS情報サイト Nintendo DSなどのゲーム機情報サイト ニンテンドー……

    Trackback by 谷岡のページ (PukiWiki/TrackBack 0.3) — February 14, 2011 @ 1:38 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress

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