gtkD problem

Mike Wey mike-wey at example.com
Mon Jan 28 13:18:05 PST 2013


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 at ..\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


More information about the Digitalmars-d-learn mailing list