Open zippoxer opened 13 years ago
I've got the same problem and also no Idea.
Also a problem for me on Ubuntu Lucid.
I had the same problem on my Ubuntu system. I created two files by hand SDL_ttf.pc and SDL_mixer.pc. I then copied them to /usr/lib/pkgconfig and all worked fine. Below is the contents of the two files:
SDL_ttf.pc
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: SDL_ttf
Description: ttf library for Simple DirectMedia Layer with FreeType 2 support
Version: @VERSION@
Requires: sdl >= @SDL_VERSION@
Libs: -L${libdir} -lSDL_ttf
Cflags: -I${includedir}/SDL
SDL_mixer.pc
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: SDL_mixer
Description: mixer library for Simple DirectMedia Layer
Version: @VERSION@
Requires: sdl >= @SDL_VERSION@
Libs: -L${libdir} -lSDL_mixer
Cflags: -I${includedir}/SDL
Note I haven't tested Go-SDL yet just saw that it compiled fine.
Ubuntu 12.10 (quantal) appears to be shipping with SDL_ttf.pc.
http://packages.ubuntu.com/quantal/i386/libsdl-ttf2.0-dev/filelist
@zombieCraig not sure what witchcraft you used but this solves everything (at least on my #! distro). thumbs up.
The output of calling make:
I do have libsdl-ttf-dev installed. I do not have the file SDL_ttf.pc anywhere on my only hard drive. I do not know why it's happening to me.