GtkD HelloWorld app crashes with exception

Enjoys Math enjoysmath at gmail.com
Fri May 17 23:57:12 PDT 2013


On Saturday, 18 May 2013 at 05:26:45 UTC, Alexandr Druzhinin 
wrote:
> 18.05.2013 9:52, Enjoys Math пишет:
>> I'm on Windows 7 64-bit and using DMD2, compiling a regular 
>> 32-bit
>> windows app using Visual D "New Project > Windows App" and 
>> replacing
>> winmain.d with the code below:
>>
> > ...
>>
>> I'm using GtkD-2.2.0 from here:
>> https://code.google.com/p/gtkd-packages/downloads/list
>>
>> and also the 32-bit runtime from there.
>>
>> The output when I click "Start Debugging" in Visual D is to 
>> display a
>> stdout window with some text (that I can't read since it's too 
>> fast.
>> I've tried setting breakpoints to no avail), no window is ever
>> displayed.  Then in Visual D the output log shows:
>>
>> <code>
>> First-chance exception at 0x76c6c41f in WindowsApp1.exe: 
>> 0xE0440001:
>> 0xe0440001.
>> The program '[3848] WindowsApp1.exe: Native' has exited with 
>> code 1 (0x1).
>> </code>
>>
>> Thank you for any suggestions.
> Works fine on my box. You have problem with gtk installation. 
> But I can't specify what's the reason - I downloaded previous 
> binaries. Also I recommend you to experiment with paths - check 
> it out.

I installed 2.24 from here:
https://code.google.com/p/gtkd-packages/downloads/list

And the windows 7 path is set correctly to the Gtk-Runtime\bin 
folder.

But the same problem persists.


More information about the Digitalmars-d-learn mailing list