www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Re: Module stdio cannot read file 'std\stdio.d'

BCS Wrote:

 Reply to GS,
 Thanks for your reply Derek. Appreciate your reply. I went to \dmd\bin
 and checked sci.ini. The -I switch is there. This is the sci.ini file

the file should be "sc.ini" not "sci.ini" that might be your problem right there.
 version=7.51 Build 020
 LIB="% P%\..\lib";\dm\lib
 DFLAGS="-I% P%\..\src\phobos"
 LINKCMD=% P%\..\..\dm\bin\link.exe

I'd hard code the paths. If things don't move it is a little more reliable. LIB=c:\dmd\lib;c:\dm\lib DFLAGS="-Ic:\dmd\src\phobos" LINKCMD=c:\dm\bin\link.exe
 Is there another other way to direct the compiler to the stdio

you can have more than one sc.ini http://www.digitalmars.com/d/dcompiler.html#sc_ini

May 06 2007