veandco / go-sdl2

SDL2 binding for Go
https://godoc.org/github.com/veandco/go-sdl2
BSD 3-Clause "New" or "Revised" License
2.17k stars 219 forks source link

ArchLinux compilation error on SDL2_ttf #518

Closed vit1251 closed 2 years ago

vit1251 commented 2 years ago

During ArchLinux compilation meet with error message:

# pkg-config --cflags  -- SDL2_ttf
Package SDL2_ttf was not found in the pkg-config search path.
Perhaps you should add the directory containing `SDL2_ttf.pc'
to the PKG_CONFIG_PATH environment variable
Package 'SDL2_ttf', required by 'virtual:world', not found
pkg-config: exit status 1

Could you please suggest how to fix it?

veeableful commented 2 years ago

Hi @vit1251, it seems like the sdl2_ttf package hasn't been installed. Does it work if you install the package?

vit1251 commented 2 years ago

Yep. My fault. Sorry,