digitalmars.D.learn - gtkD problem
- SaltySugar (16/16) Jan 28 2013 I have one problem. I compiled gtkD ad my first program
- Jordi Sayol (10/24) Jan 28 2013 Did you install Gtk+ 3 runtime libraries for Windows?
- SaltySugar (2/32) Jan 28 2013 I installed all in one bundle.
- SaltySugar (2/39) Jan 28 2013 I installed GTK+ 3 developer tools and GTK+3 runtime.
- Jordi Sayol (6/40) Jan 28 2013 did you compiled yout "hello" program to 32-bit or 64-bit?
- Mike Wey (7/48) Jan 28 2013 There seems to be a small bug in the code so that it fails is the
- SaltySugar (6/57) Jan 28 2013 Libgtk-3-0.dll exists. I can find it on my system. Also I can run
- Mike Wey (5/34) Jan 28 2013 Did you read the comment about the GTK_BASEPATH because of a bug it
- Mike Wey (5/9) Jan 28 2013 Fixed in git:
- SaltySugar (2/12) Jan 28 2013 Ok, I'll try It. So, I must to replace old gtkD with this one?
- SaltySugar (2/15) Jan 29 2013 Finally, It works!!! Thank you very much, Mike :)
- Steve (12/12) Apr 04 2013 A similar problem. I've installed the latest GtkD package, and
- Jordi Sayol (7/13) Apr 04 2013 No problem on wine (windows api for Linux), installed dmd 2.062, Gtk+3 r...
- Mike Wey (6/16) Apr 04 2013 It looks like you have more than one version of the Gtk runtime on your
I have one problem. I compiled gtkD ad my first program successfully but when I try to run my program it shows: C:\apps>hello object.Exception ..\src\gtkc\Loader.d(123): Library load failed: libgtk-3-0.dll My Path variable: C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE;C:\D\dmd2\windows\bin;C:\D\dm\bin;C:\Documents and Settings\Tomas\Application Data\Dashlane\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\c mponents;C:\Program Files\GTK3\bin GTK_BASEPATH variable: C:\Program Files\GTK3\bin can someone help me?
Jan 28 2013
Al 28/01/13 13:43, En/na SaltySugar ha escrit:I have one problem. I compiled gtkD ad my first program successfully but when I try to run my program it shows: C:\apps>hello object.Exception ..\src\gtkc\Loader.d(123): Library load failed: libgtk-3-0.dll My Path variable: C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE;C:\D\dmd2\windows\bin;C:\D\dm\bin;C:\Documents and Settings\Tomas\Application Data\Dashlane\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\c mponents;C:\Program Files\GTK3\bin GTK_BASEPATH variable: C:\Program Files\GTK3\bin can someone help me?Did you install Gtk+ 3 runtime libraries for Windows? Gtk+3: http://gtkd-packages.googlecode.com/files/gtk3-runtime_3.6.1_32-bit.exe http://gtkd-packages.googlecode.com/files/gtk3-runtime_3.6.1_64-bit.exe Gtk+2: http://gtkd-packages.googlecode.com/files/gtk2-runtime_2.24.10_32-bit.exe Regards, -- Jordi Sayol
Jan 28 2013
On Monday, 28 January 2013 at 13:15:09 UTC, Jordi Sayol wrote:Al 28/01/13 13:43, En/na SaltySugar ha escrit:I installed all in one bundle.I have one problem. I compiled gtkD ad my first program successfully but when I try to run my program it shows: C:\apps>hello object.Exception ..\src\gtkc\Loader.d(123): Library load failed: libgtk-3-0.dll My Path variable: C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE;C:\D\dmd2\windows\bin;C:\D\dm\bin;C:\Documents and Settings\Tomas\Application Data\Dashlane\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\c mponents;C:\Program Files\GTK3\bin GTK_BASEPATH variable: C:\Program Files\GTK3\bin can someone help me?Did you install Gtk+ 3 runtime libraries for Windows? Gtk+3: http://gtkd-packages.googlecode.com/files/gtk3-runtime_3.6.1_32-bit.exe http://gtkd-packages.googlecode.com/files/gtk3-runtime_3.6.1_64-bit.exe Gtk+2: http://gtkd-packages.googlecode.com/files/gtk2-runtime_2.24.10_32-bit.exe Regards,
Jan 28 2013
On Monday, 28 January 2013 at 13:20:31 UTC, SaltySugar wrote:On Monday, 28 January 2013 at 13:15:09 UTC, Jordi Sayol wrote:I installed GTK+ 3 developer tools and GTK+3 runtime.Al 28/01/13 13:43, En/na SaltySugar ha escrit:I installed all in one bundle.I have one problem. I compiled gtkD ad my first program successfully but when I try to run my program it shows: C:\apps>hello object.Exception ..\src\gtkc\Loader.d(123): Library load failed: libgtk-3-0.dll My Path variable: C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE;C:\D\dmd2\windows\bin;C:\D\dm\bin;C:\Documents and Settings\Tomas\Application Data\Dashlane\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\c mponents;C:\Program Files\GTK3\bin GTK_BASEPATH variable: C:\Program Files\GTK3\bin can someone help me?Did you install Gtk+ 3 runtime libraries for Windows? Gtk+3: http://gtkd-packages.googlecode.com/files/gtk3-runtime_3.6.1_32-bit.exe http://gtkd-packages.googlecode.com/files/gtk3-runtime_3.6.1_64-bit.exe Gtk+2: http://gtkd-packages.googlecode.com/files/gtk2-runtime_2.24.10_32-bit.exe Regards,
Jan 28 2013
Al 28/01/13 15:08, En/na SaltySugar ha escrit:On Monday, 28 January 2013 at 13:20:31 UTC, SaltySugar wrote:did you compiled yout "hello" program to 32-bit or 64-bit? did you install Gtk+ 3 32-bit or 64-bit? can you find "libgtk-3-0.dll" in your system? -- Jordi SayolOn Monday, 28 January 2013 at 13:15:09 UTC, Jordi Sayol wrote:I installed GTK+ 3 developer tools and GTK+3 runtime.Al 28/01/13 13:43, En/na SaltySugar ha escrit:I installed all in one bundle.I have one problem. I compiled gtkD ad my first program successfully but when I try to run my program it shows: C:\apps>hello object.Exception ..\src\gtkc\Loader.d(123): Library load failed: libgtk-3-0.dll My Path variable: C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE;C:\D\dmd2\windows\bin;C:\D\dm\bin;C:\Documents and Settings\Tomas\Application Data\Dashlane\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\c mponents;C:\Program Files\GTK3\bin GTK_BASEPATH variable: C:\Program Files\GTK3\bin can someone help me?Did you install Gtk+ 3 runtime libraries for Windows? Gtk+3: http://gtkd-packages.googlecode.com/files/gtk3-runtime_3.6.1_32-bit.exe http://gtkd-packages.googlecode.com/files/gtk3-runtime_3.6.1_64-bit.exe Gtk+2: http://gtkd-packages.googlecode.com/files/gtk2-runtime_2.24.10_32-bit.exe Regards,
Jan 28 2013
On 01/28/2013 03:08 PM, SaltySugar wrote:On Monday, 28 January 2013 at 13:20:31 UTC, SaltySugar wrote:There seems to be a small bug in the code so that it fails is the GTK_BASEPATH doesn't end with a backslash, you can either add it to the GTK_BASEPATH, or remove the GTK_BASEPATH environment variable completely. If that doesn't work could you tell us exactly which installer you used? -- Mike WeyOn Monday, 28 January 2013 at 13:15:09 UTC, Jordi Sayol wrote:I installed GTK+ 3 developer tools and GTK+3 runtime.Al 28/01/13 13:43, En/na SaltySugar ha escrit:I installed all in one bundle.I have one problem. I compiled gtkD ad my first program successfully but when I try to run my program it shows: C:\apps>hello object.Exception ..\src\gtkc\Loader.d(123): Library load failed: libgtk-3-0.dll My Path variable: C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE;C:\D\dmd2\windows\bin;C:\D\dm\bin;C:\Documents and Settings\Tomas\Application Data\Dashlane\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\components;C:\Program Files\GTK3\bin GTK_BASEPATH variable: C:\Program Files\GTK3\bin can someone help me?Did you install Gtk+ 3 runtime libraries for Windows? Gtk+3: http://gtkd-packages.googlecode.com/files/gtk3-runtime_3.6.1_32-bit.exe http://gtkd-packages.googlecode.com/files/gtk3-runtime_3.6.1_64-bit.exe Gtk+2: http://gtkd-packages.googlecode.com/files/gtk2-runtime_2.24.10_32-bit.exe Regards,
Jan 28 2013
On Monday, 28 January 2013 at 19:20:00 UTC, Mike Wey wrote:On 01/28/2013 03:08 PM, SaltySugar wrote:Libgtk-3-0.dll exists. I can find it on my system. Also I can run gtk3-demo.exe on C:/Program Files/GTK3/bin.I downloaded unofficial installer from there: www.tarnyko.net/en/?q=node/20 Also, I tried run my program with this runtime: http://gtkd-packages.googlecode.com/files/gtk3-runtime_3.6.1_32-bit.exeOn Monday, 28 January 2013 at 13:20:31 UTC, SaltySugar wrote:There seems to be a small bug in the code so that it fails is the GTK_BASEPATH doesn't end with a backslash, you can either add it to the GTK_BASEPATH, or remove the GTK_BASEPATH environment variable completely. If that doesn't work could you tell us exactly which installer you used?On Monday, 28 January 2013 at 13:15:09 UTC, Jordi Sayol wrote:I installed GTK+ 3 developer tools and GTK+3 runtime.Al 28/01/13 13:43, En/na SaltySugar ha escrit:I installed all in one bundle.I have one problem. I compiled gtkD ad my first program successfully but when I try to run my program it shows: C:\apps>hello object.Exception ..\src\gtkc\Loader.d(123): Library load failed: libgtk-3-0.dll My Path variable: C:\Program Files\PC Connectivity Solution\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE;C:\D\dmd2\windows\bin;C:\D\dm\bin;C:\Documents and Settings\Tomas\Application Data\Dashlane\bin\Firefox_Extension\{442718d9-475e-452a-b3e1-fb1ee16b8e9f}\components;C:\Program Files\GTK3\bin GTK_BASEPATH variable: C:\Program Files\GTK3\bin can someone help me?Did you install Gtk+ 3 runtime libraries for Windows? Gtk+3: http://gtkd-packages.googlecode.com/files/gtk3-runtime_3.6.1_32-bit.exe http://gtkd-packages.googlecode.com/files/gtk3-runtime_3.6.1_64-bit.exe Gtk+2: http://gtkd-packages.googlecode.com/files/gtk2-runtime_2.24.10_32-bit.exe Regards,
Jan 28 2013
On 01/28/2013 08:43 PM, SaltySugar wrote:On Monday, 28 January 2013 at 19:20:00 UTC, Mike Wey wrote:Did you read the comment about the GTK_BASEPATH because of a bug it currently needs to end with an backslash if it's set. -- Mike WeyOn 01/28/2013 03:08 PM, SaltySugar wrote:Libgtk-3-0.dll exists. I can find it on my system. Also I can run gtk3-demo.exe on C:/Program Files/GTK3/bin.I downloaded unofficial installer from there: www.tarnyko.net/en/?q=node/20 Also, I tried run my program with this runtime: http://gtkd-packages.googlecode.com/files/gtk3-runtime_3.6.1_32-bit.exeOn Monday, 28 January 2013 at 13:20:31 UTC, SaltySugar wrote:There seems to be a small bug in the code so that it fails is the GTK_BASEPATH doesn't end with a backslash, you can either add it to the GTK_BASEPATH, or remove the GTK_BASEPATH environment variable completely. If that doesn't work could you tell us exactly which installer you used?On Monday, 28 January 2013 at 13:15:09 UTC, Jordi Sayol wrote:Al 28/01/13 13:43, En/na SaltySugar ha escrit:I have one problem. I compiled gtkD ad my first program successfully but when I try to run my program it shows: C:\apps>hello object.Exception ..\src\gtkc\Loader.d(123): Library load failed: libgtk-3-0.dll GTK_BASEPATH variable: C:\Program Files\GTK3\bin can someone help me?
Jan 28 2013
On Monday, 28 January 2013 at 19:20:00 UTC, Mike Wey wrote:There seems to be a small bug in the code so that it fails is the GTK_BASEPATH doesn't end with a backslash, you can either add it to the GTK_BASEPATH, or remove the GTK_BASEPATH environment variable completely.Fixed in git: https://github.com/gtkd-developers/GtkD/commit/7e54919287cc7810aed7af27b5371551a3abd9cd -- Mike Wey
Jan 28 2013
On Monday, 28 January 2013 at 21:50:24 UTC, Mike Wey wrote:On Monday, 28 January 2013 at 19:20:00 UTC, Mike Wey wrote:Ok, I'll try It. So, I must to replace old gtkD with this one?There seems to be a small bug in the code so that it fails is the GTK_BASEPATH doesn't end with a backslash, you can either add it to the GTK_BASEPATH, or remove the GTK_BASEPATH environment variable completely.Fixed in git: https://github.com/gtkd-developers/GtkD/commit/7e54919287cc7810aed7af27b5371551a3abd9cd
Jan 28 2013
On Tuesday, 29 January 2013 at 05:49:37 UTC, SaltySugar wrote:On Monday, 28 January 2013 at 21:50:24 UTC, Mike Wey wrote:Finally, It works!!! Thank you very much, Mike :)On Monday, 28 January 2013 at 19:20:00 UTC, Mike Wey wrote:Ok, I'll try It. So, I must to replace old gtkD with this one?There seems to be a small bug in the code so that it fails is the GTK_BASEPATH doesn't end with a backslash, you can either add it to the GTK_BASEPATH, or remove the GTK_BASEPATH environment variable completely.Fixed in git: https://github.com/gtkd-developers/GtkD/commit/7e54919287cc7810aed7af27b5371551a3abd9cd
Jan 29 2013
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.
Apr 04 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
Apr 04 2013
On 04/04/2013 03:57 PM, 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.It looks like you have more than one version of the Gtk runtime on your system, and this is causing some problems. because it's finding the older version. -- Mike Wey
Apr 04 2013