I've spent hours on this one (probably simple) link error
WhatMeWorry via Digitalmars-d-ide
digitalmars-d-ide at puremagic.com
Sat Oct 11 12:13:25 PDT 2014
Ok. I decided to start fresh and be extrememly methodical. I
went to
a new Windows 8.1 computer.
I wanted to create a portable D environment so I downloded and
installed everything to a flash drive D:
I downloaded the Derelict3 .zip file from GitHub today and the
2.0660.0 windows installer and ran it with all the defaults
selected. So now I have D and Derelict side by side.
D:\>dir
Volume in drive D is CENTON USB
Volume Serial Number is 33EA-F132
Directory of D:\
07/16/2014 03:15 PM <DIR> Derelict3-master
10/11/2014 01:49 PM <DIR> D
0 File(s) 0 bytes
2 Dir(s) 1,881,473,024 bytes free
I then followed the instructrions on GitHub like so:
D:\>cd Derelict3-master
D:\Derelict3-master>cd build
D:\Derelict3-master\build>dmd build.d
Using the Digital Mars DMD compiler.
D:\Derelict3-master\build>
D:\Derelict3-master\build>build
Building all packages.
Building DerelictPQ
..\import\derelict\pq\functions.d
..\import\derelict\pq\pq.d
..\import\derelict\pq\types.d
dmd -lib -O -release -inline -property -w -wi -I"..\import"
-of"..\lib/dmd/DerelictPQ.lib"
"..\import\derelict\pq\functions.d" "..\import\derelict\pq\pq.d"
"..\import\de
relict\pq\types.d"
D:\D\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(1538): Error:
not a property fileno
D:\D\dmd2\windows\bin\..\..\src\phobos\std\bitmanip.d(1650):
Error: not a property iota(this.dim()).filter!((i) => ptr[i])
D:\D\dmd2\windows\bin\..\..\src\phobos\std\bitmanip.d(1651):
Error: not a property filter(iota(this.dim())).map!((i) =>
BitsSet!size_t(ptr[i], i * bitsPerSizeT))
Build Failed!
// Or what I'm really interested in:
D:\Derelict3-master\build>build GL3
Building DerelictGL3
..\import\derelict\opengl3\arb.d
..\import\derelict\opengl3\cgl.d
..\import\derelict\opengl3\constants.d
..\import\derelict\opengl3\deprecatedConstants.d
..\import\derelict\opengl3\deprecatedFunctions.d
..\import\derelict\opengl3\ext.d
..\import\derelict\opengl3\functions.d
..\import\derelict\opengl3\gl.d
..\import\derelict\opengl3\gl3.d
..\import\derelict\opengl3\glx.d
..\import\derelict\opengl3\glxext.d
..\import\derelict\opengl3\internal.d
..\import\derelict\opengl3\types.d
..\import\derelict\opengl3\wgl.d
..\import\derelict\opengl3\wglext.d
dmd -lib -O -release -inline -property -w -wi -I"..\import"
-of"..\lib/dmd/DerelictGL3.lib"
"..\import\derelict\opengl3\arb.d"
"..\import\derelict\opengl3\cgl.d" "..\im
ort\derelict\opengl3\constants.d"
"..\import\derelict\opengl3\deprecatedConstants.d"
"..\import\derelict\opengl3\deprecatedFunctions.d"
"..\import\derelict\opengl3\ext.d
"..\import\derelict\opengl3\functions.d"
"..\import\derelict\opengl3\gl.d"
"..\import\derelict\opengl3\gl3.d"
"..\import\derelict\opengl3\glx.d" "..\import\derelict\ope
gl3\glxext.d" "..\import\derelict\opengl3\internal.d"
"..\import\derelict\opengl3\types.d"
"..\import\derelict\opengl3\wgl.d"
"..\import\derelict\opengl3\wglext.d"
D:\D\dmd2\windows\bin\..\..\src\phobos\std\stdio.d(1538): Error:
not a property fileno
D:\D\dmd2\windows\bin\..\..\src\phobos\std\bitmanip.d(1650):
Error: not a property iota(this.dim()).filter!((i) => ptr[i])
D:\D\dmd2\windows\bin\..\..\src\phobos\std\bitmanip.d(1651):
Error: not a property filter(iota(this.dim())).map!((i) =>
BitsSet!size_t(ptr[i], i * bitsPerSizeT))
Build Failed!
So now I can't even build Derelict3. I'm starting to feel like a
total failure :)
More information about the Digitalmars-d-ide
mailing list