Problems with FreeType and Xcode

Hi,

I’m trying to include FreeType in my project. I grabbed your package because I don’t want the hassle of compiling it myself. I included the source and libs (*.a) into my project, setup up User Header Search Paths. Everything works fine until I start using it. I’ve written a very simple code that just initialises the library:

  
  
#include <ft2build.h>  
#include FT_FREETYPE_H  
  
...  
  
FT_Library lib;  
FT_Init_FreeType(&lib);  
  
FT_Done_FreeType(lib);  
  

This file compiles just fine, but fails the linking stage with the following error:

ld: duplicate symbol _cff_cmap_unicode_class_rec in /…/lib/ios/libfreetype-iphone.a(cffcmap.o) and /…/lib/ios/libfreetype-iphone.a(cff.o)

I’m not entirely sure what this means, so please enlighten me.