GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign up
Mar 30, 2017 This is where all discussion of SDL goes. SDLOpenAudioDevice and SDLOpenAudio fails when setting more that 2 channels in specs. I'm trying to compile a cmake project on my mac, but it depends on the SDL. I have alreaday read 'LibSDL, CMake and MacOSX Lion', however I couldn't solve this problem. C, SDL2, iOS 6.1+, cmake template. Contribute to i8degrees/hello-sdl2-ios-cmake development by creating an account on GitHub.
I'm trying to compile a cmake project on my mac, but it depends on the SDL. I have alreaday read 'LibSDL, CMake and MacOSX Lion', however I couldn't solve this problem.
The variable SDL2DEFINITIONS is also retrieved from pkg-config -cflags-only-other. If pkg-config is not available, the module functions as before with no errors, but SDL2STATIC will probably fail. TODO: warn if pkg-config is not found add similar code to the other two cmake modules, or factor it out support sdl2-config as well (extra parsing).
I am in the same boat as you, but with gradle if you already build with cmake all you have to do is write a gradle script to configure and run your cmake command. You do not have to change your cmake scripts, even if you do still want to swim upstream and struggle against google's decisions eventually that will fail because as an android.
New issue
Sdl Library Not Found Cmake Mac 2017
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community. Mac where are photos stored.
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
Conversation
commented Oct 26, 2016
Sdl Library Not Found Cmake Mac 1
Add SDL2_STATIC variable, when set to ON will link the static version of SDL2 and add any necessary libs and linker flags for linking it statically from pkg-config.
For dynamic linking, any extra stuff from pkg-config is also retrieved and added to SDL2_LIBRARY.
If pkg-config is not available, the module functions as before with no errors, but SDL2_STATIC will probably fail.
TODO:
warn if pkg-config is not found
add similar code to the other two cmake modules, or factor it out
support sdl2-config as well (extra parsing)
support static link of SDL2 and pkg-config
force-pushed the rkitover:master branch from d97d436 to c819f70Oct 26, 2016
added a commit to rkitover/visualboyadvance-m that referenced this pull request Oct 27, 2016
Mac build improvements
Merged
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Sdl Library Not Found Cmake Mac Download
Sdl Library Not Found Cmake Mac 10
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.