Simple compile error in Visual D...

WhatMeWorry via Digitalmars-d-ide digitalmars-d-ide at puremagic.com
Wed Oct 8 15:11:32 PDT 2014


I've been trying to debug this for hours. But my compile keeps 
complaining about a file which can't be read (import path[2]) but 
when I run a dir command with a copy and paste of the path, I 
clearly see the file.

02_SimpleOpenGL_3_3_Program.d(13): Error: module gl3 is in file 
'derelict\opengl3\gl3.d' which cannot be read
import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import
import path[2] = 
C:\D\dmd2\windows\bin\..\..\src\DerelictOrg\DerelictGL3-master\source\derelict\opengl3
binary    C:\D\dmd2\windows\bin\dmd.exe
version   v2.066.0
config    C:\D\dmd2\windows\bin\sc.ini
parse     02_SimpleOpenGL_3_3_Program



C:\D>dir 
C:\D\dmd2\windows\bin\..\..\src\DerelictOrg\DerelictGL3-master\source\derelict\opengl3
I've got a verbose compile:

02_SimpleOpenGL_3_3_Program.d(13): Error: module gl3 is in file 
'derelict\opengl3\gl3.d' which cannot be read
import path[0] = C:\D\dmd2\windows\bin\..\..\src\phobos
import path[1] = C:\D\dmd2\windows\bin\..\..\src\druntime\import
import path[2] = 
C:\D\dmd2\windows\bin\..\..\src\DerelictOrg\DerelictGL3-master\source\derelict\opengl3
binary    C:\D\dmd2\windows\bin\dmd.exe
version   v2.066.0
config    C:\D\dmd2\windows\bin\sc.ini
parse     02_SimpleOpenGL_3_3_Program



C:\D>dir 
C:\D\dmd2\windows\bin\..\..\src\DerelictOrg\DerelictGL3-master\source\derelict\opengl3
  Volume in drive C is OSDisk

  Directory of 
C:\D\dmd2\src\DerelictOrg\DerelictGL3-master\source\derelict\opengl3

10/08/2014  04:54 PM    <DIR>          .
10/08/2014  04:54 PM    <DIR>          ..
07/14/2014  01:30 PM            32,030 gl3.d
               15 File(s)        549,833 bytes
                2 Dir(s)  76,447,309,824 bytes free


More information about the Digitalmars-d-ide mailing list