Aloshi / EmulationStation

A flexible emulator front-end supporting keyboardless navigation and custom system themes.
MIT License
2.08k stars 904 forks source link

Error Building on Mac OSX #500

Open ghost opened 9 years ago

ghost commented 9 years ago

I'm trying to build Emulation Station on Mac OSX Yosemite. I was able to compile it by installing the required packages, which created an xcode project. However, when I try to build the xcode project, I receive the following errors:

Use of undeclared identifier "SDL_Keycode" Use of undeclared identifier "SDL_TEXTINPUT" Use of undeclared identifier "SDL_TEXTEDITING" Use of undeclared identifier "SDL_JOYDEVICEADDED" Use of undeclared identifier "SDL_JOYDEVICEREMOVED"

If I add the sdl2 framework directly to the project using "File>add files to", it clears many of the errors, but I still get the Use of undeclared identifier "SDL_Keycode" error.

Any suggestions as to how to get this to build properly?

EDIT: I compiled after applying the changes made by pasnox and displaced, here: https://github.com/Aloshi/EmulationStation/pull/478 https://github.com/Aloshi/EmulationStation/pull/473

pablormago commented 3 years ago

Do you have an Xcode project?