www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - newbie and dide

reply "Miguel Ferreira Simões" <kobold netcabo.pt> writes:
hi! i've downloaded DIDE... and istalled the latest compiler and linker
version.
i started a new project and tried to compile it...

import std.c.stdio

int main (char [][] args){
    printf("erro");
    return 0;
}

But i got this compiler error:
    Error: Error reading file 'object.d'

What's the reason?

Miguel
May 30 2004
parent reply Stephan Wienczny <wienczny web.de> writes:
Sounds like phobos is not in the include dir...
Where did you put phobos and how does DIDE call dmd?

Stephan

Miguel Ferreira Simões wrote:
 hi! i've downloaded DIDE... and istalled the latest compiler and linker
 version.
 i started a new project and tried to compile it...
 
 import std.c.stdio
 
 int main (char [][] args){
     printf("erro");
     return 0;
 }
 
 But i got this compiler error:
     Error: Error reading file 'object.d'
 
 What's the reason?
 
 Miguel
 
 
 
May 30 2004
parent reply "Miguel Ferreira Simões" <kobold netcabo.pt> writes:
I think DIDE is correctly calling dmd.exe... because the compiler gives an
error.
Phobos is in relative path given by the decompression of dmd.zip.

I checked sc.ini and i also think it's ok... but the it shouldn't be.
May 30 2004
parent reply Charlie <Charlie_member pathlink.com> writes:
I just downloaded and installed .91 seems to work ok here, as long as the DMD
structure is maintained and pointed to correctly by Settings->DIDE
Settings->General Settings "DMD Path" it shouldn't have a problem.

DIDE doesnt read sc.ini although it probably should.  

Where did you unzip dmd.zip ?

Charlie

In article <c9e5g6$1lrt$1 digitaldaemon.com>, Miguel Ferreira Simões says...
I think DIDE is correctly calling dmd.exe... because the compiler gives an
error.
Phobos is in relative path given by the decompression of dmd.zip.

I checked sc.ini and i also think it's ok... but the it shouldn't be.
May 30 2004
parent "Miguel Ferreira Simões" <kobold netcabo.pt> writes:
I solved the problem :D

I just changed directory and it worked! I really did not understand the
problem...
Could it be caused by the size of  the directory's name?

Miguel
May 31 2004