iDevGames Forums
Anyone run into this problem with FTGL? - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: Anyone run into this problem with FTGL? (/thread-1420.html)



Anyone run into this problem with FTGL? - wadesworld - Apr 20, 2009 08:13 PM

So I downloaded and built the latest FTGL and freetype and included them in my Cocoa project. When linking I get:

Code:
Undefined symbols:
  "___dynamic_cast", referenced from:
      FTExtrudeFont::MakeGlyph(FT_GlyphSlotRec_*)       in libftgl.a(libftgl_la-FTExtrudeFont.o)
      FTPolygonFont::MakeGlyph(FT_GlyphSlotRec_*)       in libftgl.a(libftgl_la-FTPolygonFont.o)
  "operator new(unsigned long)", referenced from:
      _ftglCreateBitmapFont in libftgl.a(libftgl_la-FTFontGlue.o)
      _ftglCreateBufferFont in libftgl.a(libftgl_la-FTFontGlue.o)

that almost seems like it's having problems linking with the stdc++ library.

However, I created a custom C++ class and added it to the same project and it compiled and linked without difficulty.

Any thoughts?


Anyone run into this problem with FTGL? - Oddity007 - Apr 21, 2009 02:19 PM

I tried using FTGL with c and had a compiler error, this was a while ago and I can't remember what exactly, but it couldnt find headers.