gotk3 / gotk3-examples

164 stars 34 forks source link

Unable to build examples #32

Open JasonMarkowitz opened 3 years ago

JasonMarkowitz commented 3 years ago

I'm receiving the following error: go build github.com/gotk3/gotk3/gdk: invalid flag in pkg-config --libs: -Wl,--export-dynamic

when attempting to build anything surrounding gotk3. Go version is go version go1.10.4 linux/amd64

OS is Ubuntu 18.04 on AMD64

warlice commented 4 months ago

also encouter gotk3@v0.6.4/glib/gbinding_since_2_68.go:15:9: could not determine kind of name for C.g_binding_dup_source

sunshine69 commented 1 week ago

I hit the same issues today with RHEL 8.3 (yeah always a problems).

I did add the build tags pango_1_42 gtk_3_22 . I remember not long time ago it built fine. After recent update - failed!

../../go/pkg/mod/github.com/gotk3/gotk3@v0.6.5-0.20240618185848-ff349ae13f56/glib/gbinding_since_2_68.go:15:9: could not determine kind of name for C.g_binding_dup_source
../../go/pkg/mod/github.com/gotk3/gotk3@v0.6.5-0.20240618185848-ff349ae13f56/glib/gbinding_since_2_68.go:24:9: could not determine kind of name for C.g_binding_dup_target