On 10/12/2012 03:24 PM, Andrej Mitrovic wrote:
On 9/10/12, Andrej Mitrovic <andrej.mitrov...@gmail.com> wrote:
http://www.tarnyko.net/en/?q=node/1

Btw for win32 users, GTK_BASEPATH needs to be set to wherever you've
installed the runtime bundle (e.g. C:\Program Files\GTKRuntime-3.4.2).
Don't let it install with the +- in the path because of an optlink
bug: http://d.puremagic.com/issues/show_bug.cgi?id=8791

Also, this C:\Program Files\%gtkdir%\bin needs to be in PATH before
everything else, because apparently the wrong DLLs get loaded
otherwise. I don't understand what GTK_BASEPATH is for if it's not
used properly.


Normally GtkD searches for the dll in the default locations ( See Also: http://msdn.microsoft.com/en-us/library/ms682586(VS.85).aspx ), witch includes any directory listed in the PATH environment variable.

The GTK_BASEPATH environment variable can be used to override this, when set GtkD searches for the dlls in that directory, and only that directory.

So GTK_BASEPATH doesn't need to be set but when is it set, it does need to point to the correct location, some old Gtk+ 2.x installers used to set the GTK_BASEPATH variable.

--
Mike Wey

Reply via email to