Re: Gtk::BuilderError Invalid object type GtkSourceView

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 19 Mar 2015, Stefan Salewski wrote:

Basically, GTK assumes that its libraries are loaded into the global
symbol namespace.  I'm guessing that Nim is probably loading them into
a
local namespace (RTLD_LOCAL) and thus when GtkBuilder tries to load
GtkSourceView, it can't find it.

Interesting. I have to admit that I have currently no idea about global
and local namespaces of C libraries. Have to ask google or the Nim
developers tomorrow :-)

Currently Nim compiles to C (can also compile to other targets as well,
C++, JS and more, but C is the default.) Will investigate how it loads
libraries.

You could check the code for where they call dlopen() and whether or not they pass the RTLD_GLOBAL flag.

Scott
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list




[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux