New to D, path errors under WinXP
Regan Heath
regan at netmail.co.nz
Tue Sep 11 02:50:11 PDT 2007
Johannes wrote:
> Sorry for not fixing this myself, but I really cannot get D started. I've tried uppercase/lowercase on everything, and it simply won't work. Here's a DOS printout to shop you what happens. It seems DMD simply won't traverse the subdirectories of Phobos.
>
> C:\DMD\SRC>path
> PATH=C:\WINDOWS;C:\WINDOWS\SYSTEM32;C:\DMD\BIN;C:\CM\BIN
>
> C:\DMD\SRC>dmd voxel.d -v
> parse voxel
> semantic voxel
> import object (c:\dmd\src\phobos\object.d)
> import math (math.d)
> voxel.d(11): module math cannot read file 'math.d'
Does voxel.d contain the import statement "import math;"?
If so, change that to "import std.math;", does that fix it?
If not, find out what file does i.e. maybe c:\dmd\src\phobos\object.d
does (seems unlikely to me).
Regan
More information about the Digitalmars-d-learn
mailing list