Import issues
Derek Parnell
derek at psych.ward
Sun Mar 5 20:03:24 PST 2006
On Mon, 6 Mar 2006 01:47:38 +0000 (UTC), Jeremy wrote:
> I just downloaded DWT, and I'm trying to compile some of the test examples.
> About this error:
>
> hello2.d(4): module all cannot read file 'dwt\all.d'
>
> I have to always specify -Ic:\dmd\import as an argument to get past this when I
> use 'build'. I've tried changing my sc.ini file to automatically add this
> argument, but it simply doesn't seem to work... Does build even look at sc.ini?
It sure does.
> What should it look like?
DFLAGS="-I%@P%\..\src\phobos" -Ic:\dmd\import
Note that subsequent installs of DMD will wipe out any changes you have
made to the sc.ini file.
Or if you like, you can create a file called "build.cfg" and have this line
in it ...
CMDLINE=-Ic:\dmd\import
Build looks for this file in the same folder as the Build.exe resides in
*and* in the same folder that DMD.exe has been installed in. You can have
both or either (or none).
--
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Down with mediocracy!"
6/03/2006 2:51:59 PM
More information about the Digitalmars-d-learn
mailing list