SDL_ttf
hei,
I would like to use the Ttf package to display text. I have a freetype2 folder under sw->lib with a lot of stuff in it and I downloaded SDL-ttf-2.0.7. I am not sure now how to bring it together. Is the freetype2 in the right place? Do I have to tell XCode where to find that folder...if so how do I do that? And where to put the SDL-ttf folder?
Thanks
I would like to use the Ttf package to display text. I have a freetype2 folder under sw->lib with a lot of stuff in it and I downloaded SDL-ttf-2.0.7. I am not sure now how to bring it together. Is the freetype2 in the right place? Do I have to tell XCode where to find that folder...if so how do I do that? And where to put the SDL-ttf folder?
Thanks
Ok, I was worried to early. I finally convinced XCode that the search paths I set are right, and all headers are found now.
but what is to do with the following error:
project6:0: Undefined symbols: _TTF_Init
?
project6:0: Undefined symbols: _TTF_Init
?
Legie Wrote:but what is to do with the following error:I think XCode can see the freetype2 headers, but not the lib. You have to include libfreetype.a to your poject.
project6:0: Undefined symbols: _TTF_Init
?
Fisk
SDL_ttf uses FreeType 1, not FreeType 2 (unless it's been updated recently?)
hey,
thanks for your suggestions, but
"This library is a wrapper around the excellent FreeType 2.0 library" (quote of the SDL_ttf readme file) and I included the path to the freetype2 lib file in my project. So it must be something else.
...any ideas?
thanks for your suggestions, but
"This library is a wrapper around the excellent FreeType 2.0 library" (quote of the SDL_ttf readme file) and I included the path to the freetype2 lib file in my project. So it must be something else.
...any ideas?
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| SDL_TTF Problems (Can't display text) | pb2ya | 4 | 4,201 |
Sep 18, 2008 06:50 PM Last Post: Raptor007 |
|
| SDL_ttf | Jonas | 3 | 2,353 |
Jun 5, 2008 06:43 AM Last Post: Jonas |
|
| Added SDL_ttf framework to project - can't include headers | matticus | 3 | 3,879 |
Oct 15, 2004 01:14 PM Last Post: OneSadCookie |
|

