GtkD HelloWorld app crashes with exception

Alexandr Druzhinin drug2004 at bk.ru
Fri May 17 22:26:39 PDT 2013


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.


More information about the Digitalmars-d-learn mailing list