When I upgraded my program to use go-sdl2 v0.4.39 from v0.4.35 the build complained that it couldn't find sdl2_gfx.pc. Apparently on my system the pc file was named SDL2_gfx.pc, rather than lowercase. I resolved this locally by symlinking SDL2_gfx.pc to sdl2_gfx.pc, and then the build was happy.
Go version: 1.22.2 linux/amd64 Go-SDL2 version: 0.4.39 SDL2 version: 2.0.10 OS: ubuntu 20.04 Architecture: amd64
When I upgraded my program to use go-sdl2 v0.4.39 from v0.4.35 the build complained that it couldn't find sdl2_gfx.pc. Apparently on my system the pc file was named SDL2_gfx.pc, rather than lowercase. I resolved this locally by symlinking SDL2_gfx.pc to sdl2_gfx.pc, and then the build was happy.
This commit seems to be referencing sdl2_gfx.pc.
https://github.com/veandco/go-sdl2/commit/d9801e0db990b3aacb6386d0e6d29e3890f3c10f
I'm not sure which is correct, SDL2_gfx or sdl2_gfx. I installed SDL2_gfx via apt.
in the pkgconfig directory