PDA

View Full Version : Added SDL_ttf framework to project - can't include headers


matticus
2004.10.15, 06:47 AM
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?

OneSadCookie
2004.10.15, 08:09 AM
#include <SDL_ttf/SDL_ttf.h>

matticus
2004.10.15, 10:45 AM
Aaah, I see.

Thanks for the rapid response!

Is this the general form for any <Framework/header.h>?

OneSadCookie
2004.10.15, 05:14 PM
yup.