Hello,
I am trying to run a Hello World program but I have trouble setting up gtkD. I first tried building gtkD the manual way (following the wiki) by downloading it from GitHub (commit 317b811) and running rdmd Build.d
. While I can make a Build.exe, running it results in this error:
generated/gtkd\pango\c\types.d(2159): Error: struct pango.c.types.PangoCairoFontMap conflicts with struct pango.c.types.PangoCairoFontMap at generated/gtkd\pango\c\types.d(1217)
When I try the 64-bits version rdmd -m64 Build.d
it gives this error:
Error: can't run '\bin\link.exe', check PATH
I also tried putting it in my DUB dependencies:
"dependencies": {
"gtk-d": "~>3.6.5"
},
But then when I run dub build --force
it gives this output:
Linking...
OPTLINK (R) for Win32 Release 8.00.17
Copyright (C) Digital Mars 1989-2013 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
..\..\..\AppData\Roaming\dub\packages\gtk-d-3.6.5\gtk-d\.dub\build\library-debug-windows-x86-dmd_2074-96367D1AA4D5586A22A54E9A562624C0\gtk-d.lib
Warning 178: .LIB pagesize exceeds 512
..\..\..\AppData\Roaming\dub\packages\gtk-d-3.6.5\gtk-d\.dub\build\library-debug-windows-x86-dmd_2074-96367D1AA4D5586A22A54E9A562624C0\gtk-d.lib
Error 7: Out of Memory
Error: linker exited with status 1
dmd failed with exit code 1.
How do I fix this?