www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Unable to compile GtkD on windows

reply user <tmp tmp.com> writes:
I tried compiling GtkD, I get the error message:

 rdmd Build.d
Error: more than 32767 symbols in object file 1. How to work around this? 2. Is D still unfriendly to newbies? I am disappoint :-( Using: DMD 2.077 GtkD 3.7.1 gtk3-runtime_3.22.24-1, 32bit
Nov 15
parent Mike Wey <mike-wey example.com> writes:
On 15-11-17 20:25, user wrote:
 I tried compiling GtkD, I get the error message:
 
 rdmd Build.d
Error: more than 32767 symbols in object file 1. How to work around this? 2. Is D still unfriendly to newbies? I am disappoint :-( Using: DMD 2.077 GtkD 3.7.1 gtk3-runtime_3.22.24-1, 32bit
It looks like dmd 2.077 generates more symbols than 2.076. I've updated the build script to work around this by splitting the largest package even more than before: https://github.com/gtkd-developers/GtkD/commit/9ac582dc0a7fa1ce958a15048b6bcc3ddbcad858 A work around would be to use dmd 2.076.1 or build with dub. Tough with dub you will need to pass `--build=plain` because of dmd issue: https://issues.dlang.org/show_bug.cgi?id=15418 -- Mike Wey
Nov 15