[SDL] S Location of freetype when compiling SDL_ttf on Mac

Michael Ryan Bannon mrbannon at swen.uwaterloo.ca
Thu Jul 20 07:15:12 PDT 2006


Thanks for everybody's help.  I eventually got it working using Eric's 
suggestion.  However, I was having one small problem.  Because I'm on 
10.3.9, I was getting the following errors:

Undefined symbols:
_HICopyAccessibilityActionDescription referenced from QuickTime expected to 
be defined in Carbon
_HICopyAccessibilityRoleDescription referenced from QuickTime expected to be 
defined in Carbon
_LLCStyleInfoCheckForOpenTypeTables referenced from QuickTime expected to be 
defined in ApplicationServices
_LLCStyleInfoGetUserRunFeatures referenced from QuickTime

The solutions is at http://www.idevapps.com/forum/showthread.php?t=5661

If you're interested as to what I was testing, it's just some TTF that was 
showing up on 10.4 but not on 10.3.9 in my game (came up as [] on 10.3.9_. 
I wanted to run a simple, bare-bones SDL_ttf test with my font to see it 
it's not appearing because of the game or SDL_ttf/freetype.  (Looks like 
SDL_ttf is the culprit, but I'm going to check the docs some more.)

Thanks,

Ryan

"E. Wing" <ewmailing at gmail.com> wrote in message 
news:3c7e3c8a0607191621w41a58393g9bd335a8fec0031 at mail.gmail.com...
> If you are just building that simple little showfont.c program, you
> don't really need autoconf and can shortcut the whole process and just
> build on the command line. If you install the precompiled frameworks,
> it boils down to this:
> 1) Copy SDLMain.h and SDLMain.m into the directory with your showfont.c 
> file.
>
> 2) Run gcc directly with something like this (you can probably just
> copy-and-paste this directly):
>
> gcc -I /Library/Frameworks/SDL.framework/Headers -I
> /Library/Frameworks/SDL_ttf.framework/Headers showfont.c SDLMain.m
> -framework SDL -framework SDL_ttf -framework Cocoa
>
> 3) ./a.out <your.ttf>
>
> If you use the Unix style dylibs, substitute the correct header paths
> and use -l instead of -framework.
>
> -Eric 







More information about the SDL mailing list