Added SDL_ttf framework to project - can't include headers
I've got an SDL application that I've been playing with for a while, but I wanted to add text using the SDL_ttf framework.
I've added it it to project from /Library/Frameworks/, and added it to the target.
I can see it in the Frameworks group, and can browse up until I get to the header file, SDL_ttf.h.
What I can't do is #include this header file in my own code - I keep getting a file not found error.
Could someone please give me any idea of what I need to do to include this file please?
I've added it it to project from /Library/Frameworks/, and added it to the target.
I can see it in the Frameworks group, and can browse up until I get to the header file, SDL_ttf.h.
What I can't do is #include this header file in my own code - I keep getting a file not found error.
Could someone please give me any idea of what I need to do to include this file please?
Code:
#include <SDL_ttf/SDL_ttf.h>
Aaah, I see.
Thanks for the rapid response!
Is this the general form for any <Framework/header.h>?
Thanks for the rapid response!
Is this the general form for any <Framework/header.h>?
yup.
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 |
|
| Include frameworks in my .app | mrknark | 4 | 2,702 |
Mar 31, 2006 10:53 PM Last Post: OneSadCookie |
|
| OpenAl Framework added to project | kodex | 27 | 7,379 |
Jan 5, 2006 09:11 PM Last Post: kodex |
|
| SDL_ttf | Legie | 6 | 4,428 |
Jul 26, 2005 01:17 PM Last Post: scriabin |
|

