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

Add link directives for iOS frameworks #687

Merged
merged 1 commit into from
Jul 23, 2017

Conversation

michaelfairley
Copy link
Contributor

@michaelfairley michaelfairley commented Jul 23, 2017

@Cobrand
Copy link
Member

Cobrand commented Jul 23, 2017

Build is failing on nightly but it looks like it's linked to #686.

If you could re-order those statements so that it's in the same order as the original SDL2 file, that would be great.
Also, why did you omit the equivalent of the EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,-framework,Foundation" line?

As a side note, it would be interesting to have a tutorial in this repo that would explain how to setup a simple game in SDL2 from scratch on both Android and iOS.
I think people would be genuinely interested by that, as I've seen multiple PRs related to Android as well lately. (just a wild thought, not targeted at you or anything)

@michaelfairley
Copy link
Contributor Author

Ah! I had originally copied the list out of the 2.0.5 source, but it's since been reordered and tweaked on master (which is what I linked you to). I've updated this PR to reflect master.

I'm actually in the process of (very slowly) trying to put together a "build your game for Mac/Win/Linux/iOS/Android/Emscripten" tutorial/demo/toolset thing. Unfortunately, Android and iOS are both wayyyy more complex than mac/win/linux (a bunch of different architectures, simulator vs device, the fact that there aren't precompiled binaries, SDL wanting to provide the main method, etc etc etc), even a simple tutorial ends up being pretty involved.

@Cobrand Cobrand merged commit 761a260 into Rust-SDL2:master Jul 23, 2017
@Cobrand
Copy link
Member

Cobrand commented Jul 23, 2017

I would be very interested to share that tutorial of yours from this repo. Please tell me if you need any help/assistance or preemptive feedback for that demo, I'm always happy to help!

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

Successfully merging this pull request may close these issues.

2 participants