Thread overview
newbie and dide
May 31, 2004
Stephan Wienczny
May 31, 2004
Charlie
May 31, 2004
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 31, 2004
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 31, 2004
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 31, 2004
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 31, 2004
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