conformal / gotk3

Go bindings for GTK3
ISC License
470 stars 81 forks source link

Problems with build simple example. #66

Open Rydsin opened 10 years ago

Rydsin commented 10 years ago

I install library with command: go get github.com/conformal/gotk3/gtk add changes from #58. Then I try to build simple.go example and I get more than 200 errors like that: /home/anton/dev/go/src/github.com/conformal/gotk3/gtk/gtk.go.h:26: error: undefined reference to 'gtk_about_dialog_get_type' /home/anton/dev/go/src/github.com/conformal/gotk3/gtk/gtk.go.h:152: error: undefined reference to 'gtk_adjustment_get_type' /home/anton/dev/go/src/github.com/conformal/gotk3/gtk/gtk.go.h:32: error: undefined reference to 'gtk_alignment_get_type'

Sorry for my basic English.

jrick commented 10 years ago

Can you describe your system? (OS and GTK version in particular)

Also, if your package manager splits GTK into two packages, one for the linkable libraries and another for the headers, it's possible that you're missing the later and need to install a dev or devel GTK package.