Skip to content
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

Won't work with Windows 10 #14

Open
tresero opened this issue Oct 15, 2021 · 1 comment
Open

Won't work with Windows 10 #14

tresero opened this issue Oct 15, 2021 · 1 comment

Comments

@tresero
Copy link

tresero commented Oct 15, 2021

Due to issues with sdl2
Not sure if there are any options, but I tried, to the best of my ability anyways, to follow the few ways they suggested a fix.

In file included from C:\Users\Jon\go\pkg\mod\github.com\veandco\[email protected]\sdl\audio.go:4:
./sdl_wrapper.h:2:11: fatal error: SDL2/SDL.h: No such file or directory
    2 |  #include <SDL2/SDL.h>
@joelschutz
Copy link

It can't compile the program because it can't find the SDL2 library. I had the same problem and it worked after installing it.

Don't know how to do it in Windows, but you can't find in the website https://wiki.libsdl.org/Installation

For Ubuntu:
sudo apt-get install libsdl2-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants