|
| maclover201 (1) | |||
I am having trouble linking SDL_ttf against a project I am developing on Mac OS X Snow Leopard. I am compiling SDL_ttf from source because I implemented my own function for getting the kerning between two characters in the library's source code (I am making my own kerning-accurate glyph management system for a game). For some reason, even when I declare the function like I'm supposed to:extern DECLSPEC int SDLCALL TTF_GetKerningBetween(const TTF_Font *font, Uint16 previous, Uint16 next);Xcode has trouble linking my game with SDL_ttf, saying that the symbol isn't found. It also does this with TTF_GetFontKerning and TTF_GlyphIsProvided, two other functions that I need. I am compiling in Xcode 3.2 using 10.4 as my base SDK, "Development" configuration, "Framework" target, and x86_64 architecture. What could possibly be causing this problem? How are these functions (which are declared in SDL_ttf.c) not getting compiled in? For reference, here's my TTF_GetKerningBetween function. Hope I did that right.
-Morgan | |||
| ioctl (9) | |
| What does your link command look like? And are you "installing" your version of SDL_ttf system wide? My first thought would be that you have the original SDL_ttf lib installed and are ending up linking against it... | |
Registered users can post in this forum.
