gtkD problem
SaltySugar
saltysugar at inbox.lt
Mon Jan 28 11:43:42 PST 2013
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 at ..\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
More information about the Digitalmars-d-learn
mailing list