Added SDL_ttf framework to project - can't include headers

matticus
Unregistered
 
Post: #1
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?
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
Code:
#include <SDL_ttf/SDL_ttf.h>
Quote this message in a reply
matticus
Unregistered
 
Post: #3
Aaah, I see.

Thanks for the rapid response!

Is this the general form for any <Framework/header.h>?
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #4
yup.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  SDL_TTF Problems (Can't display text) pb2ya 4 5,000 Sep 18, 2008 06:50 PM
Last Post: Raptor007
  SDL_ttf Jonas 3 2,594 Jun 5, 2008 06:43 AM
Last Post: Jonas
  Include frameworks in my .app mrknark 4 2,999 Mar 31, 2006 10:53 PM
Last Post: OneSadCookie
  OpenAl Framework added to project kodex 27 7,945 Jan 5, 2006 09:11 PM
Last Post: kodex
  SDL_ttf Legie 6 4,708 Jul 26, 2005 01:17 PM
Last Post: scriabin