On Wednesday, 12 September 2018 at 06:06:15 UTC, dangbinghoo wrote:
hi ,

When compiling gtkd using dub, dmd32 reported "Out for memory" and exit.

OS: Windows 7 32bit.
RAM : 3GB
DMD version: v2.0.82.0 32bit.

No VC or Windows SDK installed, when setting up dmd, I selected install vc2010 and use mingw lib.

try `dub --build-mode=singleFile` ? I believe this will compile each file and then link them together (instead of compiling it all together what dub does, afaik). There's been another topic on memory consumption of compilation [1].

[1]: https://forum.dlang.org/post/ehyfilopozdndjdah...@forum.dlang.org

Reply via email to