DMD compiler choking?
Jeremy Gibson
jtgibsontelusnet
Wed Apr 5 22:35:16 PDT 2006
>Sounds like the compiler doesn't know where to look for the library source
>code. After you extract dmd.zip, you have to edit (dmd.conf on unix
>sc.ini) on windows and give DMD the directory where the phobos library
>source is (it comes with the compiler).
>
>~John Demme
To install the compiler, I extracted both dmd.zip and dmc.zip into my C:\dev
folder, such that the defaults should have worked just fine, assuming the %@P%
evaluates correctly to the path to the current file as it's supposed to.
Since I didn't trust that completely, though, I just manually set the paths to
the following, replacing the relative paths with absolute paths, in order to
match up to the extracted paths precisely:
<sc.ini>
[Version]
version=7.51 Build 020
[Environment]
LIB="C:\dev\dmd\lib;C:\dev\dm\lib"
DFLAGS="-I C:\dev\dmd\src\phobos"
LINKCMD="C:\dev\dm\bin\link.exe"
..But I still have no luck -- the same errors are being thrown on compilation.
I just tried redownloading the compiler, also with no luck.
Maybe it just hates me? ;-)
--JT
More information about the Digitalmars-d-learn
mailing list