I’m new to SDL and am trying to install it on linux. I have installed SDL
1.2.5 after fixing one compiler error, and also installed freetype 2.1.2.
Now I am trying to install SDL_ttf 2.0.6 and it won’t compile, it’s
complaining that ft_open_stream in method TTF_OpenFontIndexRW of class
SDL_ttf.c is not instantiated. Am I installing it wrong or if not, does
anyone know what type this is supposed to be? It seems to be coming from
TTF_Font FT_Open_Args struct???
I’m new to SDL and am trying to install it on linux. I have installed
SDL
1.2.5 after fixing one compiler error, and also installed freetype
2.1.2.
Now I am trying to install SDL_ttf 2.0.6 and it won’t compile, it’s
complaining that ft_open_stream in method TTF_OpenFontIndexRW of class
SDL_ttf.c is not instantiated. Am I installing it wrong or if not,
does
anyone know what type this is supposed to be? It seems to be coming
from
TTF_Font FT_Open_Args struct???
Thanks for your response. Do you mean replace the FT_Open_Args in the
TTF_Font struct with FT_OPEN_STREAM? I tried it and it won’t compile
either. I thought that the ft_open_stream variable in the
TTF_OpenFontIndexRW would just have to be declared as some type, but I can’t
work out what. The row that is accessing it is:
font->args.flags = ft_open_stream;
ft_open_stream is not declared.
font->args is from FT_Open_Args but I can find what type flags is…
Thanks for your response. Do you mean replace the FT_Open_Args in the
TTF_Font struct with FT_OPEN_STREAM? I tried it and it won’t compile
either. I thought that the ft_open_stream variable in the
TTF_OpenFontIndexRW would just have to be declared as some type, but I can’t
work out what. The row that is accessing it is:
font->args.flags = ft_open_stream;
Change this to:
font->args.flags = FT_OPEN_STREAM;
I’ll fix it in CVS as soon as I can figure out how to make it work with
FreeType 2.0 as well as 2.1
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
Thanks for your response. Do you mean replace the FT_Open_Args in
the TTF_Font struct with FT_OPEN_STREAM? I tried it and it won’t
compile either. I thought that the ft_open_stream variable in the
TTF_OpenFontIndexRW would just have to be declared as some type,
but I can’t work out what. The row that is accessing it is:
font->args.flags = ft_open_stream;
Change this to:
font->args.flags = FT_OPEN_STREAM;
I’ll fix it in CVS as soon as I can figure out how to make it work
with FreeType 2.0 as well as 2.1
El mi?, 06 de 08 de 2003 a las 17:48, Sam Lantinga escribi?:
Hi,
Thanks for your response. Do you mean replace the FT_Open_Args in the
TTF_Font struct with FT_OPEN_STREAM? I tried it and it won’t compile
either. I thought that the ft_open_stream variable in the
TTF_OpenFontIndexRW would just have to be declared as some type, but I can’t
work out what. The row that is accessing it is:
font->args.flags = ft_open_stream;
Change this to:
font->args.flags = FT_OPEN_STREAM;
I’ll fix it in CVS as soon as I can figure out how to make it work with
FreeType 2.0 as well as 2.1
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment