STEEL
STEEL

Reputation: 10107

Running GO GET SDL2 Error executable file not found in $PATH

Im simplly trying to install go-sdl2 on MACOX from https://github.com/veandco/go-sdl2#installation

go get -v github.com/veandco/go-sdl2/{sdl,img,mix,ttf}

I get following ERROR:

github.com/veandco/go-sdl2/sdl
# pkg-config --cflags sdl2
pkg-config: exec: "pkg-config": executable file not found in $PATH

Upvotes: 1

Views: 348

Answers (1)

GrandPa Island
GrandPa Island

Reputation: 1

run command

brew install pkg-config

Upvotes: 0

Related Questions