-
-
Notifications
You must be signed in to change notification settings - Fork 28
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 support for UWP Compilation target #29
Comments
How can I solve FATAL_ERROR,SDL2::SDL2 and/or SDL2::SDL2main don't seem to contain any kind of IMPORTED_IMPLIB* or IMPORTED_LOCATION* It is related to not finding SDL2Targets.cmake. My folder does not have it, but IDK how to find it anyway |
I was able to generate SDL2Targets.cmake by: cmake --configure sdlDir It would be really enlightening having those build instructions somewhere. But I still need to find how to make SDL_Sound build now It seems that after having installed it in C:/Program Files(x86)/SDL2 it was able then to being find automatically I needed opening Visual Studio solution and manually adding SDL2 to its include paths and its lib paths So, the dll generated gets the error code 126 for some reason, although that doesn't happen with the SDL build |
So I discovered that the problem seems to be that it dependends on kernel32.dll, if you guys have any idea on how to solve that, I would be happy |
(sorry for keeping this in limbo for too long.) Discovery of SDL for MSVC can be a pain, I guess. As for kernel32.dll dependency: SDL_sound doesn't advertise such dependency, I am clueless with UWP though -- this is for @icculus, I guess. |
I'd have to check this on an actual Windows install, but as far as I know, SDL_sound itself has no dependency on kernel32 (SDL2 itself absolutely does, though). Although maybe the playsound test program does, since it uses stdio and such? |
@sezero Nope, kernel32 is not available in the platforms UWP is meant to support. |
If you understand how to do that, I would appreciate if you could add that support, I'm developing a Xbox game using SDL_Sound.
I'll try my best at compiling it for UWP too, if I succeed before you, I may PR, but I know that should be a kid's play for you
The text was updated successfully, but these errors were encountered: