banthar / Go-SDL

Go bindings for SDL
218 stars 68 forks source link

On Windows "Package sdl was not found in the pkg-config search path." #68

Open cyfls opened 6 years ago

cyfls commented 6 years ago

Well I have to build a program using SDL and Golang on Windows. This is what just happened when I ran "go get github.com/banthar/sdl" in Git Bash.

$ go get github.com/banthar/Go-SDL/sdl

C:\TDM-GCC-32\bin\pkg-config.exe --cflags sdl

Package sdl was not found in the pkg-config search path. Perhaps you should add the directory containing `sdl.pc' to the PKG_CONFIG_PATH environment variable No package 'sdl' found C:\TDM-GCC-32\bin\pkg-config.exe: exit status 1

Unfortunately I googled and found that "pkg-config" is unavailable on Windows. And the SDL don't provide a file named "sdl.pc". Maybe your library is just available on other platforms?