I'm fairly new to go, and even newer to getting mingw and other things to work on windows, but I feel I've exhausted my googling abilities on this one.I'm trying to get Go-SDL (the one from github.com/0xe2-0x9a-0x9b/Go-SDL) to install on windows, and so far I've gotten pkg-config and the sdl libraries where (I think) they should be (in \MinGW), but it keeps looking for an 'sdl.pc' file apparently, and I have no idea where to get this, as it doesn't exist in any of the SDL downloads.--C:\Users\xxxx>go get -v github.com/0xe2-0x9a-0x9b/Go-SDL/...
github.com/0xe2-0x9a-0x9b/Go-SDL/mixer
github.com/0xe2-0x9a-0x9b/Go-SDL/sdl
github.com/0xe2-0x9a-0x9b/Go-SDL/sdl/audio
# pkg-config --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
exit status 1
# pkg-config --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
exit status 1
# pkg-config --cflags sdl 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
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
exit status 1
C:\Users\xxxx>
your sdl.pc should be like this (fill in the paths):
Name: SDL
Description: SDL
Version: 1
Requires:
Libs: -L${libdir} -lsdl blah blah
Cflags: -I${includedir}
--
so I did that, and now I get a newer, though cleaner error message:
C:\Users\xxxx>go get -v github.com/0xe2-0x9a-0x9b/Go-SDL/...
github.com/0xe2-0x9a-0x9b/Go-SDL/mixer
github.com/0xe2-0x9a-0x9b/Go-SDL/sdl
github.com/0xe2-0x9a-0x9b/Go-SDL/sdl/audio
# pkg-config --cflags sdl
Package 'sdl' has no Name: field
exit status 1
# pkg-config --cflags sdl
Package 'sdl' has no Name: field
exit status 1
# pkg-config --cflags sdl sdl
Package 'sdl' has no Name: field
exit status 1
--
--
Baring getting this SDL library to work, does anyone have any ideas for libraries to do 2d graphics on windows? Specifically I want to make a pac-man duplicate.