Location of freetype when compiling SDL_ttf on Mac

Hello,

When building SDL_ttf, where should libfreetype.a be placed? I’ve tried
/usr/local/lib and /usr/lib but the ./configure script still says that it
can’t find freetype.

Thanks,

Ryan

After posting this, I realized that I forgot to run “make install” on
freetype. However, this didn’t make a difference, so I still have the same
problem.

“Michael Ryan Bannon” <@Michael_Ryan_Bannon> wrote in message
news:e9lt3g$klu$1 at sea.gmane.org…> Hello,

When building SDL_ttf, where should libfreetype.a be placed? I’ve tried
/usr/local/lib and /usr/lib but the ./configure script still says that it
can’t find freetype.

Thanks,

Ryan

Hello !

When building SDL_ttf, where should libfreetype.a be placed? I’ve tried
/usr/local/lib and /usr/lib but the ./configure script still says that it
can’t find freetype.

When you install Freetype with the configure script,
it installs Freetype into /usr/local/lib and all the other
files that are needed. The thing is you need more files than
just the lib, you need also the include files and so on.

CU

Hi Ryan,

You may want to clear SDL_ttf’s configure cache. I don’t remember how you can
do this… Just untar the package and do the thing from scratch.

Cheers,
RicardoEm Quarta, 19 de Julho de 2006 19:35, o Michael Ryan Bannon escreveu:

After posting this, I realized that I forgot to run “make install” on
freetype. However, this didn’t make a difference, so I still have the same
problem.

“Michael Ryan Bannon” wrote in message
news:e9lt3g$klu$1 at sea.gmane.org

Hello,

When building SDL_ttf, where should libfreetype.a be placed? I’ve tried
/usr/local/lib and /usr/lib but the ./configure script still says that it
can’t find freetype.

Thanks,

Ryan


“There is hopeful symbolism in the fact that flags do not wave in a
vacuum.”
– Arthur C. Clarke

Hello !

Does it install the shared and the static lib into /usr/local/lib ?
So libfreetype.a and …dylib ?

CU

Hi,

It creates the following on ‘make install’:

/usr/local/include/freetype2
/usr/local/include/freetype2/ft2build.h
/usr/local/include/freetype2/freetype
/usr/local/include/freetype2/freetype/config <- a few headers
/usr/local/include/freetype2/freetype/ <- a bunch of headers
/usr/local/lib/ <- shared and local libs
/usr/local/lib/pkgconfig/freetype2.pc

I’m using freetype-2.2.1 and SDL_ttf 2.0.8 with the latest SDL (forgot
number). I’m on a Mac OS 10.3.9.

Ryan

“Torsten Giebl” wrote in message
news:1494.141.99.122.11.1153335088.squirrel at mail.syntheticsw.com…> Hello !

Does it install the shared and the static lib into /usr/local/lib ?
So libfreetype.a and …dylib ?

CU

You may want to clear SDL_ttf’s configure cache. I don’t remember how you can
do this… Just untar the package and do the thing from scratch.

It used to be that you could rm config.cache from your files to do
this… but I haven’t needed to do this in ages, and some of the
tricky things I’ve tried to install have been insane.

Can you specify exactly to configure where the freetype library is? As in
./configure --with-freetype-prefix=/usr/local/libOn 7/19/06, Ricardo Cruz wrote:

Hi,

That did it.

./configure --with-freetype-prefix=/usr/local
(Has to be /usr/local because the bin directory is in local).

Thanks to all,

Ryan

“Anne Tester” wrote in message
news:6812921d0607191219i3403dbeeo4823ea2b51a4cb3d at mail.gmail.com…> On 7/19/06, Ricardo Cruz wrote:

You may want to clear SDL_ttf’s configure cache. I don’t remember how
you can
do this… Just untar the package and do the thing from scratch.

It used to be that you could rm config.cache from your files to do
this… but I haven’t needed to do this in ages, and some of the
tricky things I’ve tried to install have been insane.

Can you specify exactly to configure where the freetype library is? As in
./configure --with-freetype-prefix=/usr/local/lib

Hello,

When building SDL_ttf, where should libfreetype.a be placed? I’ve tried
/usr/local/lib and /usr/lib but the ./configure script still says that it
can’t find freetype.

Thanks,

Ryan

It is generally placed in /usr/X11R6/lib But you may need to install
the X11 SDK.

If you use the Xcode project, I include a special version of
libfreetype.a inside the tarball which is gcc 3.3 based for PPC but
4.0 based for x86 for maximum portability. You can just build with
Xcode, or you could muck with your autoconf settings to use this one.

-Eric> From: “Michael Ryan Bannon”

What version of XCode would that project require?
I’m running 1.5 on my 10.3.9 (I think that’s the highest that can be run on
this OS) but every time I open the project XCode just sits there.

Thanks,

Ryan

“E. Wing” wrote in message
news:3c7e3c8a0607191244o2040a263gca153d17e348b398 at mail.gmail.com…>> From: “Michael Ryan Bannon” <@Michael_Ryan_Bannon>

Hello,

When building SDL_ttf, where should libfreetype.a be placed? I’ve tried
/usr/local/lib and /usr/lib but the ./configure script still says that it
can’t find freetype.

Thanks,

Ryan

It is generally placed in /usr/X11R6/lib But you may need to install
the X11 SDK.

If you use the Xcode project, I include a special version of
libfreetype.a inside the tarball which is gcc 3.3 based for PPC but
4.0 based for x86 for maximum portability. You can just build with
Xcode, or you could muck with your autoconf settings to use this one.

-Eric