#2 Problems with SDL_ttf

closed
None
5
2014-08-09
2001-05-09
Mazardo Luc
No

Peter Ronnquist <pronnquist@yahoo.com> wrote:

Hello Luc,

Thank you for your advice, I tried the cvs version of
today (6 of may) but I got a parse error:

/usr/bin/ocamlc -c -ccopt "-g -O2 -I/usr/include/SDL
-D_REENTRANT -DHAVE_PNG_H=1 -Wall -D__DEBUG__ "
sdlttf_stub.c
sdlttf_stub.c:124: parse error before `TT_Face'
sdlttf_stub.c:124: warning: no semicolon at end of
struct or union
...

/* this code directly taken from sdl_ttf library,
otherwise it is impossible
to implement fast text using sdlttf */
/* The structure used to hold internal font
information */
struct _TTF_Font {
TT_Face face; <----- line 124
TT_Instance inst;
TT_Glyph glyph;
TT_CharMap map;
TT_Raster_Map scratch;
};

Maybe I have a different version of the ttf library. I
use libsdl-ttf1.2-dev from debian.

Discussion

  • Mazardo Luc

    Mazardo Luc - 2001-05-09
    • assigned_to: nobody --> xtrm
     
  • Mazardo Luc

    Mazardo Luc - 2001-05-09

    Logged In: YES
    user_id=3279

    an error is generated when freetype.h isn't detected and
    configure script stop

     
  • Mazardo Luc

    Mazardo Luc - 2001-05-09
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks