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

Fix Xcode ansi.c/h, AppKit.framework, and USE_HEADERMAP issues. #296

Merged
merged 1 commit into from Apr 4, 2021

Conversation

AliceLR
Copy link
Owner

@AliceLR AliceLR commented Apr 3, 2021

Fixes the following issues with the Xcode project (most are my fault or due to things I added ;-():

  • ansi.{c,h} were missing from the editor target.
  • AppKit.framework was missing from the editor target (required to correctly link clipboard_cocoa.m).
  • USE_HEADERMAP was causing system headers to pull in MZX headers in place of some system headers, causing numerous compilation issues in clipboard_cocoa.m related to bool (which compat.h undefines).
  • Added libxmp/src and libxmp/src/loaders to the user header include paths for the core target to fix libxmp compilation after the above change.
  • Disabled C++ exceptions and RTTI for all targets.

TODO:

  • event_sdl.c still doesn't link due to, for some reason, it being unable to find SDL_GameControllerAddMappingsFromRW. old SDL2 framework in the path :(

@AliceLR AliceLR merged commit 45046b7 into master Apr 4, 2021
@AliceLR AliceLR deleted the misc-xcode-fixes branch April 4, 2021 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant