Anyone run into this problem with FTGL?

Member
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:

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?
Quote this message in a reply
Member
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 1,301 Mar 3, 2014 03:36 PM
Last Post: JustinFic
  Xcode and FTGL hiddenspring81 7 6,410 Oct 10, 2013 03:00 PM
Last Post: ardowz
  FTGL crash when exiting program Malarkey 8 5,456 Mar 27, 2008 03:33 PM
Last Post: Malarkey
  More Freetype/FTGL trouble Fenris 33 17,510 Sep 15, 2006 06:27 AM
Last Post: TomorrowPlusX
  FTGL point size question TomorrowPlusX 3 3,896 Aug 26, 2005 04:56 AM
Last Post: TomorrowPlusX