Sign up

Problems with Xamarin Gtk Installation

OK, so I read somewhere that there seemed to be an issue with Xamarin's GtkSharp installation interfering with GtkD's operation, however I have removed the GTK_BASEPATH variable from my environment variables list, and ensure nothing else exists on the path but the 3.8.1 32-bit Gtk+ installation from the home page of this website, and I still get

The procedure entry point gdk_pixbuf_animation_new_from_resource could not be located in the dynamic link library libgdk_pi9xbuf-2.0-0.dll

Now, the strange part is that I can copy that dll file from a Gtk+ 3.6.4 distribution I found into the Gtk+ bin folder and that error goes away, but then a different entry point error for libgdk-3-0.dll comes up instead, and the 3.6.4 version of that file doesn't fix it. I don't want to uninstall Xamarin, but it seems to run on GtkSharp, so I can't get rid of the files.

Is there ANYTHING I can do?

Re: Problems with Xamarin Gtk Installation

Oh, yeah, I'm using GtkD 2.3.1 as well.

Re: Problems with Xamarin Gtk Installation

On 12/09/2013 08:45 PM, Malkierian wrote:

Oh, yeah, I'm using GtkD 2.3.1 as well.

Try putting the path to the GTK+ 3.8 installation at the start of the PATH.

Re: Problems with Xamarin Gtk Installation

On Mon, 09 Dec 2013 22:45:02 +0100, Mike Wey wrote:

On 12/09/2013 08:45 PM, Malkierian wrote:

Oh, yeah, I'm using GtkD 2.3.1 as well.

Try putting the path to the GTK+ 3.8 installation at the start of the PATH.

I already did that as well, actually XD.

Re: Problems with Xamarin Gtk Installation

On 12/09/2013 10:47 PM, Malkierian wrote:

On Mon, 09 Dec 2013 22:45:02 +0100, Mike Wey wrote:

On 12/09/2013 08:45 PM, Malkierian wrote:

Oh, yeah, I'm using GtkD 2.3.1 as well.

Try putting the path to the GTK+ 3.8 installation at the start of the PATH.

I already did that as well, actually XD.

And the problem is still there ?

Re: Problems with Xamarin Gtk Installation

On Tue, 10 Dec 2013 19:25:19 +0100, Mike Wey wrote:

On 12/09/2013 10:47 PM, Malkierian wrote:

On Mon, 09 Dec 2013 22:45:02 +0100, Mike Wey wrote:

On 12/09/2013 08:45 PM, Malkierian wrote:

Oh, yeah, I'm using GtkD 2.3.1 as well.

Try putting the path to the GTK+ 3.8 installation at the start of the PATH.

I already did that as well, actually XD.

And the problem is still there ?

I wouldn't have posted on here in the first place if it wasn't. I tried that before I came on here.

Re: Problems with Xamarin Gtk Installation

On 12/11/2013 01:20 AM, Malkierian wrote:

On Tue, 10 Dec 2013 19:25:19 +0100, Mike Wey wrote:

On 12/09/2013 10:47 PM, Malkierian wrote:

On Mon, 09 Dec 2013 22:45:02 +0100, Mike Wey wrote:

On 12/09/2013 08:45 PM, Malkierian wrote:

Oh, yeah, I'm using GtkD 2.3.1 as well.

Try putting the path to the GTK+ 3.8 installation at the start of the PATH.

I already did that as well, actually XD.

And the problem is still there ?

I wouldn't have posted on here in the first place if it wasn't. I tried that before I came on here.

The error would indicate that windows tries to load an old version of
one of the Gtk dll's eg, one of the dll installed for Xamarin, instead
of the newer one from the Gtk+ 3.x install.

Putting the path to the Gtk 3.x install at the start/fornt of the PATH
variable usually fixes this, because Windows than finds the newer
version first.

I don't know what to do when the problem persists maybe try reinstalling
Gtk+ 3.x, fix the PATH again and then retry.

Re: Problems with Xamarin Gtk Installation

On Wed, 11 Dec 2013 21:30:10 +0100, Mike Wey wrote:

The error would indicate that windows tries to load an old version of
one of the Gtk dll's eg, one of the dll installed for Xamarin, instead
of the newer one from the Gtk+ 3.x install.

Putting the path to the Gtk 3.x install at the start/fornt of the PATH
variable usually fixes this, because Windows than finds the newer
version first.

I don't know what to do when the problem persists maybe try reinstalling
Gtk+ 3.x, fix the PATH again and then retry.

OK, so I was able to get the Gtk errors to go away by manually copying all the required drivers into my program's run directory (ugh...), but then it starts trying to load a 64-bit driver from my TortoiseGit and TortoiseSVN installations. Removed them from the path, restarted Xamarin, and that's gone, but now I get a real Gtk error:

GLib-GIO-ERROR **: No GSettings schemas are installed on the system.

I tried manually compiling the schemas, no luck.

Re: Problems with Xamarin Gtk Installation

On 12/12/2013 03:02 AM, Malkierian wrote:

On Wed, 11 Dec 2013 21:30:10 +0100, Mike Wey wrote:

The error would indicate that windows tries to load an old version of
one of the Gtk dll's eg, one of the dll installed for Xamarin, instead
of the newer one from the Gtk+ 3.x install.

Putting the path to the Gtk 3.x install at the start/fornt of the PATH
variable usually fixes this, because Windows than finds the newer
version first.

I don't know what to do when the problem persists maybe try reinstalling
Gtk+ 3.x, fix the PATH again and then retry.

OK, so I was able to get the Gtk errors to go away by manually copying all the required drivers into my program's run directory (ugh...), but then it starts trying to load a 64-bit driver from my TortoiseGit and TortoiseSVN installations. Removed them from the path, restarted Xamarin, and that's gone, but now I get a real Gtk error:

 GLib-GIO-ERROR **: No GSettings schemas are installed on the system.

I tried manually compiling the schemas, no luck.

Gtk looks for the schemas in the following directory relative from the
Gtk dlls: ../share/glib-2.0/schemas/

So if you moved the dlls you'll also need to move these.