Anyone run into this problem with FTGL?

Posts: 116
Joined: 2002.04
Post: #1
So I downloaded and built the latest FTGL and freetype and included them in my Cocoa project. When linking I get:

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?
Quote this message in a reply
Posts: 227
Joined: 2008.08
Post: #2
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.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  How do I flip upside down fonts in FTGL mr5z 4 6,396 Mar 3, 2014 03:36 PM
Last Post: JustinFic
  Xcode and FTGL hiddenspring81 7 14,032 Oct 10, 2013 03:00 PM
Last Post: ardowz
  FTGL crash when exiting program Malarkey 8 10,355 Mar 27, 2008 03:33 PM
Last Post: Malarkey
  More Freetype/FTGL trouble Fenris 33 30,091 Sep 15, 2006 06:27 AM
Last Post: TomorrowPlusX
  FTGL point size question TomorrowPlusX 3 6,513 Aug 26, 2005 04:56 AM
Last Post: TomorrowPlusX