Trouble complinig DMD 2.070 on windows
E.S. Quinn via Digitalmars-d
digitalmars-d at puremagic.com
Fri Jan 29 15:38:16 PST 2016
I'm trying to compile a 64-bit DMD.exe on windows (as my project
has enough CTFE and Template work that it bumps up against the
4gb limit).
with the pre-DDMD setup I was just able to load the thing up in
visual studio 2013 and build, but I've been having some
difficulty with 2.070's projects. Namely, it seems that no matter
what type of bulid I do, I get a bunch of errors in elfobj.c and
one in filename.d
Error 1 error C3861: 'assert': identifier not
found D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3512 1 dmd_backend
Error 2 error C3861: 'assert': identifier not
found D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3527 1 dmd_backend
Error 3 error C2352: 'Obj::reftoident' : illegal call of
non-static member
function D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3528 1 dmd_backend
Error 4 error C2065: 'symtab_strings' : undeclared
identifier D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3531 1 dmd_backend
Error 5 error C2227: left of '->size' must point to
class/struct/union/generic
type D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3531 1 dmd_backend
Error 6 error C2065: 'symtab_strings' : undeclared
identifier D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3532 1 dmd_backend
Error 7 error C2227: left of '->writeString' must point to
class/struct/union/generic
type D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3532 1 dmd_backend
Error 8 error C2065: 'symtab_strings' : undeclared
identifier D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3533 1 dmd_backend
Error 9 error C2227: left of '->setsize' must point to
class/struct/union/generic
type D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3533 1 dmd_backend
Error 10 error C2227: left of '->size' must point to
class/struct/union/generic
type D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3533 1 dmd_backend
Error 11 error C2065: 'symtab_strings' : undeclared
identifier D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3534 1 dmd_backend
Error 12 error C2227: left of '->writeString' must point to
class/struct/union/generic
type D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3534 1 dmd_backend
Error 13 error C3861: 'elf_addsym': identifier not
found D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3536 1 dmd_backend
Error 14 error C3861: 'MAP_SEG2SECIDX': identifier not
found D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3536 1 dmd_backend
Error 15 error C2352: 'Obj::reftoident' : illegal call of
non-static member
function D:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3542 1 dmd_backend
Error 16 Error: function ddmd.root.filename.GetFullPathNameA
(const(wchar)* lpFileName, uint nBufferLength, wchar* lpBuffer,
wchar** lpFilePart) is not callable using argument types
(const(char)*, int, typeof(null),
typeof(null)) D:\programs\dmd\dmd2\src\dmd\root\filename.d 645
17 IntelliSense: identifier "assert" is
undefined d:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3512 5 dmd_backend
18 IntelliSense: a nonstatic member reference must be relative
to a specific
object d:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3528 13 dmd_backend
19 IntelliSense: identifier "symtab_strings" is
undefined d:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3531 29 dmd_backend
20 IntelliSense: identifier "elf_addsym" is
undefined d:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3536 30 dmd_backend
21 IntelliSense: identifier "MAP_SEG2SECIDX" is
undefined d:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3536 79 dmd_backend
22 IntelliSense: a nonstatic member reference must be relative
to a specific
object d:\Programs\dmd\dmd2\src\dmd\backend\elfobj.c 3542 9 dmd_backend
(If this is an actual issue with the code or projects I'll file a
bug, but I wanted to make sure it wasn't just me doing something
wrong first)
More information about the Digitalmars-d
mailing list