Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linking SDL2_ttf on iOS platform #40

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

Linking SDL2_ttf on iOS platform #40

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: 2.0.11
Reported for operating system, platform: iOS 6, iPhone/iPod touch

Comments on the original bug report:

On 2014-01-03 04:08:55 +0000, Jeffrey Carpenter wrote:

Created attachment 1511
SDL2_ttf fix for using on iOS platform

Linking to SDL2_ttf in an application fails -- said app dumps the terminal usage text of the apinames utility and then immediately exits.

This is because of external/freetype/apinames.c being compiled into SDL2_ttf. Removing this file from compiling within the supplied iOS xcode project file fixes the problem for me.

Cheers!
Jeffrey Carpenter i8degrees@gmail.com

On 2014-06-23 09:10:45 +0000, Davide Coppola wrote:

confirmed in 2.0.12 and in mercurial.

A fix is straightforward and takes only few seconds, just remove apinames.c from the project.

On 2014-06-24 09:04:54 +0000, Sam Lantinga wrote:

Fixed, thanks!
https://hg.libsdl.org/SDL_ttf/rev/b4e2b0ac9723

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant