[Gtk-sharp-list] GTK3 and EntryPointNotFoundException in gtksharp
phoenixxua at gmail.com
Sat Dec 3 10:03:54 EST 2011
Seems that g_thread_get_initialized introduced in glib 2.20 and it's still
exists in 2.30 (
However in glib 2.31 they marked it as deprecated thread API because of new
simplified thread API:
I've created new bug - http://bugzilla.xamarin.com/show_bug.cgi?id=2329 and
I'll add a pull-request to it.
2011/12/2 Andres G. Aragoneses <knocte at gmail.com>
> On 12/01/2011 06:43 PM, Sergey Litvinov wrote:
> > Hello everyone,
> > I am developing some program, and I am trying to use gtksharp with gtk3.
> > As I saw from previous emails – source code from master should support
> > gtk3. And I am trying to build and use it with gtk 3. But I’ve found a
> > problem.
> > I use gtk 3.2 libraries under Ubuntu\Windows 7. For Windows 7 I’ve
> > downloaded gtk3.2 from OpenSUSE build server and latest version of
> > gtk-sharp from master branch.
> > I found one strange thing in
> > https://github.com/mono/gtk-sharp/blob/master/glib/Thread.cs . For
> > g_thread_get_initialized it use external call to libgthread-2.0-0
> > library. But in that library there is no such method and when I try to
> > call Gtk.Application.Init() - it fails with EntryPointNotFoundException.
> > It fails with the same error on both Windows and Ubuntu. I investigated
> > glib source and gtk-sharp/glib history and found that such method exist
> > in libglib-2.0-0.
> > The library name in Thread.cs file was changed at Jan 7 2011 in this
> > commit -
> > <
> > I’ve locally updated library name in Thread.cs to libglib-2.0-0.dll,
> > built it again, and tried to call Gtk.Application.Init(). And seems it
> > was successful. I am newbie there and my question is – was it a mistake?
> > If yes, I can do a pull request to gtk-sharp git repo.
> Seems that the change is correct, however you would need to investigate
> if version 2.28.0 of libglib also has that function too and, in case it
> doesn't, change the value of GLIB_REQUIRED_VERSION in the file
> configure.ac as well, to the first version of GLib that included it.
> Anyway, can you first thing open a bug in
> http://bugzilla.xamarin.com/enter_bug.cgi?product=Gtk%23 so this doesn't
> get forgotten? You can later announce your pull-request URL in the bug.
> the first version of GLib 2.x that included that function, in order to
> update the dependencies check in
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list