cdave1 / ftgles

A truetype font rendering library for OpenGL ES on iOS devices (iPad and iPhone)
http://cdave1.github.io/ftgles/
MIT License
142 stars 36 forks source link

Main() is being compiled into freetype2 lib #2

Closed maverickmind closed 14 years ago

maverickmind commented 14 years ago

Hi I think you may have just setup the freetype2 xcode project by putting all files into it? Do a search in the freetype2 project for "main" as complete word. You'll find you are compiling into the freetype2 lib the source for a stand alone application, which cases a link error if one tries to use FTGLES.a with another lib like SDL on the iphone :(

cdave1 commented 14 years ago

Hi,

I think you may have just setup the freetype2 xcode project by putting all files into it?

Not quite -- I thought I'd removed this file back when the project was hosted on googlecode. I must have put it back in without realizing it. Thanks for pointing it out!

I've made a substantial update -- mainly for iOS4 -- and I have removed the offending file, so hopefully you'll no longer encounter the link error.

Cheers David

maverickmind commented 14 years ago

Cheers Dave.