gtkD problem

Jordi Sayol g.sayol at yahoo.es
Thu Apr 4 08:14:58 PDT 2013


On 04/04/13 15:57, Steve wrote:
> A similar problem. I've installed the latest GtkD package, and downloaded and run the Gtk+3 installer.  I've modified the sc.ini file to reference the include area and the newly built GtkD.lib file.  I'm using dmd 2.062 under Windows XP.  The Gtk bin area is in my path, and the dlls can be found.  I'm compiling for 32-bit. I built the GtkD.lib file using the supplied GtkD.brf file and bud.  When I run any of the example files (which all successfully build), I get:
> 
> "The procedure entry point g_mutex_lock could not be located in the dynamic link librarylibglib-2.0.0-dll."
> 
> I'm only having difficulties on Windows.  It works just fine on Linux.
> 

No problem on wine (windows api for Linux), installed dmd 2.062, Gtk+3 runtime 32-bit https://code.google.com/p/gtkd-packages/downloads/list , compiled gtkd using the wiki procedure: https://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows

C:\testdir> dmd test.d -IC:\path\to\gtkd\source\dir -L C:\path\to\GtkD.lib -L/SUBSYSTEM:WINDOWS

It worked fine.

Regards,
-- 
Jordi Sayol


More information about the Digitalmars-d-learn mailing list