Make can't find SDL_ttf.h

Help
Anonymous
2002-12-27
2002-12-28

  • Anonymous
    2002-12-27

    Hi there,
    I was thinking to hack around with these SDL bindings but I can't get the stubs to build... here's the fail message:

    (cd c; make)
    make[1]: Entering directory `/home/jamison/tmp/cl-sdl/c'
    gcc -shared -Wall -fPIC `sdl-config --cflags` -o sdlttfstub.so sdlttfstub.c  -lSDL_ttf
    sdlttfstub.c:2:21: SDL_ttf.h: No such file or directory
    make[1]: *** [sdlttfstub.so] Error 1
    make[1]: Leaving directory `/home/jamison/tmp/cl-sdl/c'
    make: *** [all] Error 2

    I've got the SDL-devel-1.2.3-7 rpm installed, do I need the sources?
    The truth is I don't have any experience with interfacing LISP to the outside world so I'm pretty clueless here as far as running without the stubs too...

    Thanks,
    -J

     
    • Matthew Danish
      Matthew Danish
      2002-12-28

      SDL_ttf is not part of the main SDL library. You need to obtain SDL_ttf development libraries.  See the Libraries section of libsdl.org for a link to SDL_ttf.