Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
May 31, 2004 newbie and dide | ||||
---|---|---|---|---|
| ||||
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 Re: newbie and dide | ||||
---|---|---|---|---|
| ||||
Posted in reply to Miguel Ferreira Simões | 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 Re: newbie and dide | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stephan Wienczny | 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 Re: newbie and dide | ||||
---|---|---|---|---|
| ||||
Posted in reply to Miguel Ferreira Simões | 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 Re: newbie and dide | ||||
---|---|---|---|---|
| ||||
Posted in reply to Charlie | 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 |
Copyright © 1999-2021 by the D Language Foundation