-
Notifications
You must be signed in to change notification settings - Fork 41
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
how I should compile on windows? #28
Comments
Hi, that's a bit tricky on windows, you will have to follow the steps listed in the go-sdl2 package itself under the requirements section. https://github.com/veandco/go-sdl2/blob/master/README.md#requirements Alternatively you can use GLFW instead of SDL if you don't actually need any SDL specific features. If you are using the sdlcanvas package, you can just replace that with the glfwcanvas package, which basically works the same way. That should just work without needing any additional stuff to be installed. |
Here's what I did to finally make it working because nothing else worked.
Check if gcc is added to patch (it was not in my case so I've added |
haloo I try to install this, but I can not to do it, I try many things, but still:
github.com/veandco/go-sdl2/sdl
In file included from ..\github.com\veandco\go-sdl2\sdl\audio.go:4:
./sdl_wrapper.h:2:11: fatal error: SDL2/SDL.h: No such file or directory
#include <SDL2/SDL.h>
^~~~~~~~~~~~
compilation terminated.
I am beginer, would you get some link like tutorial?
The text was updated successfully, but these errors were encountered: