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

Can use SDL2.framework bundle instead of pkg-config sdl2 #1

Closed
jakwings opened this issue Feb 22, 2022 · 1 comment · Fixed by #3
Closed

Can use SDL2.framework bundle instead of pkg-config sdl2 #1

jakwings opened this issue Feb 22, 2022 · 1 comment · Fixed by #3
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@jakwings
Copy link

This is great work! Thank you!

I downloaded SDL2.framework from https://libsdl.org/ and substitute the pkg-config flags with -F ~/Library/Frameworks -framework SDL2 and examples/painter and examples/ppm works, but examples/hello doesn't spew out any warning.

@61315 61315 self-assigned this Feb 22, 2022
@61315 61315 added bug Something isn't working documentation Improvements or additions to documentation labels Feb 22, 2022
61315 added a commit that referenced this issue Feb 22, 2022
@61315
Copy link
Owner

61315 commented Feb 22, 2022

It now spews out something! Thanks for the catch @iology :)

IMAGE_SYNTH_SUCCESS

And yes, it should work with the framework bundle. Updated the README.md accordingly.

Using disk image:
  • Download installation package from the site.
$ make examples/painter LDFLAG="-F/Library/Frameworks -framework SDL2"
$ examples/painter <source>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants