Can use SDL2.framework bundle instead of pkg-config sdl2
jakwings opened this issue · comments
._|.\/\/. commented
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.
minseopark commented
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>