Import issues

Jeremy Jeremy_member at pathlink.com
Mon Mar 6 09:00:16 PST 2006


In article <1q45okfgyozro$.41n2z1lq3fx5$.dlg at 40tude.net>, Derek Parnell says...
>
>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

Yay! That worked :)

>
>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

Thank you! :)

Jeremy



More information about the Digitalmars-d-learn mailing list