Closed oakes closed 9 years ago
Ah, I need to manually set the GTK_VERSION
environment variable.
I need to reopen this, because even when I export GTK_VERSION=GTK_3_10
and rebuilding, I get the linker error. How do I get the version to be detected when gtk_glue.c is compiled?
GTK_VERSION
is no more. #206 removes it from the readme. #215 should fix this issue.
I use Ubuntu, and I have
features = ["GTK_3_10"]
in my Cargo.toml. When I attempt to usegtk::Stack
, which requires 3.10, I get a linker errorundefined reference to cast_GtkStack
. I knew this was one of the functions defined in gtk_glue.c, so I manually commented out theif defined
directive that surrounds it, and it worked. It seems that the features specified in the Cargo.toml aren't making it to gtk_glue.c.