View mode: basic / threaded / horizontal-split · Log in · Help
June 01, 2007
D Cannot Find Module sdio
The following software is used:

 - Windows XP (with SP2)
 - Digital Mars D Compiler version v1.010

After running "dmd.exe" with "test.d" as the parameter the following errors
are displayed:

   test.d(1): module sdio cannot read file 'std\sdio.d

Upon doing some searching I stumbled on "sdio.d" file in "C:\dmd\src\phobos\std".
Any ideas on how to get dmd to find sdio.d? Do note that I have successfully
compiled a test program without the following lines of code which cause this
problem:

   import std.sdio;
   writef("Hello World!");
June 01, 2007
Re: D Cannot Find Module sdio
Reply to Nick,

> The following software is used:
> 
> - Windows XP (with SP2)
> - Digital Mars D Compiler version v1.010
> After running "dmd.exe" with "test.d" as the parameter the following
> errors are displayed:
> 

might you be looking for std\s*t*dio.d?

> test.d(1): module sdio cannot read file 'std\sdio.d
> 
> Upon doing some searching I stumbled on "sdio.d" file in
> "C:\dmd\src\phobos\std". Any ideas on how to get dmd to find sdio.d?
> Do note that I have successfully compiled a test program without the
> following lines of code which cause this problem:
> 
> import std.sdio;
> writef("Hello World!");
June 01, 2007
Re: D Cannot Find Module sdio
Thanks, it is fully working now. I must have been very sleepy :).
Top | Discussion index | About this forum | D home