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

Michael Ryan Bannon mrbannon at swen.uwaterloo.ca
Wed Jul 19 13:54:38 PDT 2006


Hi,

I got the freetype part working, but now it's complaining about not finding 
SDL 1.2.4.
At first I just copied the SDL framework (1.2.11) to /Library/Frameworks, 
then ran ./configure on SDL_ttf.  I got the following error:

checking for SDL - version >= 1.2.4... no
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: *** SDL version 1.2.4 not found!

I didn't have the sdl_config file, so I assumed that I needed to a proper 
SDL install.  I got the SDL source and ran the following:

./configure
make

After make, I started getting errors regarding X11, which I didn't have 
installed either.  I installed X11 for Mac OS X and reran

./configure
make

Same error.  Where am I going wrong in this process?  I thought I was 
following the instructions for SDL_ttf pretty well, but did I miss something 
along the way?

Thanks,

Ryan

"E. Wing" <ewmailing at gmail.com> wrote in message 
news:3c7e3c8a0607191315q7787e8c2h43dc7f7e53e1c18d at mail.gmail.com...
>> What version of XCode would that project require?
>
> The projects require Xcode 2.1+ which is Tiger only. (You can't build
> Universal binaries without Tiger so we didn't feel it was worth the
> effort to maintain them for older Xcodes. However, if you go far
> enough back in the CVS history, you can probably find our pre-Tiger
> projects.)
>
> But's you're probably better off using the autoconf system.  You
> probably can still use the libfreetype.a in the tarball though. I
> think the x86 side of the binary will just be ignored. But I took the
> PPC side from the 10.3 binaries, so you could just find the one that's
> supposed to be in /usr/X11/lib.
>
> -Eric 







More information about the SDL mailing list