Thread overview | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
January 28, 2013 gtkD problem | ||||
---|---|---|---|---|
| ||||
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? |
January 28, 2013 Re: gtkD problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to SaltySugar | 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}\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, -- Jordi Sayol |
January 28, 2013 Re: gtkD problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jordi Sayol | 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
>>
>> 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,
I installed all in one bundle.
|
January 28, 2013 Re: gtkD problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to SaltySugar | 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:
>> 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}\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,
>
> I installed all in one bundle.
I installed GTK+ 3 developer tools and GTK+3 runtime.
|
January 28, 2013 Re: gtkD problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to SaltySugar | Al 28/01/13 15:08, En/na SaltySugar ha escrit: > 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: >>> 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}\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, >> >> I installed all in one bundle. > > I installed GTK+ 3 developer tools and GTK+3 runtime. > 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 Sayol |
January 28, 2013 Re: gtkD problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to SaltySugar | On 01/28/2013 03:08 PM, SaltySugar wrote: > 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: >>> 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}\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, >> >> I installed all in one bundle. > > I installed GTK+ 3 developer tools and GTK+3 runtime. 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 Wey |
January 28, 2013 Re: gtkD problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Wey | On Monday, 28 January 2013 at 19:20:00 UTC, Mike Wey wrote: > On 01/28/2013 03:08 PM, SaltySugar wrote: >> 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: >>>> 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}\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, >>> >>> I installed all in one bundle. >> >> I installed GTK+ 3 developer tools and GTK+3 runtime. > > > 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? 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.exe |
January 28, 2013 Re: gtkD problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to SaltySugar | On 01/28/2013 08:43 PM, SaltySugar wrote: > On Monday, 28 January 2013 at 19:20:00 UTC, Mike Wey wrote: >> On 01/28/2013 03:08 PM, SaltySugar wrote: >>> 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: >>>>> 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? >>>>>> >> 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? > > 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.exe 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 Wey |
January 28, 2013 Re: gtkD problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Wey | 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 |
January 29, 2013 Re: gtkD problem | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Wey | 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:
>> 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
Ok, I'll try It. So, I must to replace old gtkD with this one?
|
Copyright © 1999-2021 by the D Language Foundation