You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
on ubuntu it run but I want for windows.........
I am beginer, would you get some link like tutorial?
The text was updated successfully, but these errors were encountered:
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.
in Requirements, On Windows section, do what the last bullet point says:
Or you can install SDL2 via Msys2 like so: pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL2{,_image,_mixer,_ttf,_gfx}
Check if gcc is added to patch (it was not in my case so I've added C:\msys64\mingw64\bin myself)
Then I was able to build and run the example on Windows
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: