-
Notifications
You must be signed in to change notification settings - Fork 209
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
Not working on OS X (High Sierra 10.13.6, Eclipse Oxygen) #20
Comments
Hi, I'm don't use OSX but from "Undefined symbols for architecture x86_64:" it seems you have installed/linked 32 bit SDL to a 64 bit machine or the opposite. |
My system is 64-bit
The object files and libraries all seem to be 64-bit.
Doesn't the linker need to link the object files (or a library) in the root directory (which seem to only be generated if I invoke |
Note: I have built or installed Is that correct? or do I need to make and install |
Yes, just build in Eclipse and it should work. Pleas ask your question in this thread: #12 |
Hi, I have create two pull requests to make it work on OSX latest version. Tested locally: Thanks. |
Both merged! Thank you very much! It should solve the majoraíty of the OSX issues, so close these issue. |
I've cloned pc_simulator, installed sdl with brew, imported the project into Eclipse Oxygen, and click the build icon.
main.c
builds ok, but the link fails.It seems that objects or libraries are missing.
I tried running
make
from the root directly, which then built the demo (which doesn't run). I tried adding those objects to the pc_simulator link and it did compile, but again didn't run.How can I get this running on OS X?
The text was updated successfully, but these errors were encountered: