Thread overview
Compilation error
Sep 15, 2015
Loic
Sep 15, 2015
Adam D. Ruppe
Sep 15, 2015
Loic
Oct 07, 2015
Loic
Oct 07, 2015
Loic
September 15, 2015
Hello,

I hope it's the good place to ask my question.

I'am trying an hello world program in D, unfortunately the compilation, doesn't work, and found nothing on google.

when I do : dmd Hello.d, the error returned is

Error: cannot find source code for runtime library file 'object.d'
dmd might not be correctly installed. Run 'dmd -man' for installation instructions.
config file: C:\D\dmd2\windows\bin\sc.ini
Specify path to file 'object.d' with -I switch

My machine is Windows 7 64 bits DMD2 and DMC are installed.

Thank you

Loic
September 15, 2015
On Tuesday, 15 September 2015 at 09:17:26 UTC, Loic wrote:
> Error: cannot find source code for runtime library file 'object.d'

How did you install dmd? The installer exe or the zip both should have come with all these files packaged together.
September 15, 2015
On Tuesday, 15 September 2015 at 12:37:46 UTC, Adam D. Ruppe wrote:
> On Tuesday, 15 September 2015 at 09:17:26 UTC, Loic wrote:
>> Error: cannot find source code for runtime library file 'object.d'
>
> How did you install dmd? The installer exe or the zip both should have come with all these files packaged together.

Hello Adam,

I installed with the exe installer, and set my path to C:\D\dmd2\windows\bin
Maybe I forget to configure some file(s) ?

Thank you

Loic
October 07, 2015
On Tuesday, 15 September 2015 at 15:25:27 UTC, Loic wrote:
> On Tuesday, 15 September 2015 at 12:37:46 UTC, Adam D. Ruppe wrote:
>> On Tuesday, 15 September 2015 at 09:17:26 UTC, Loic wrote:
>>> Error: cannot find source code for runtime library file 'object.d'
>>
>> How did you install dmd? The installer exe or the zip both should have come with all these files packaged together.
>
> Hello Adam,
>
> I installed with the exe installer, and set my path to C:\D\dmd2\windows\bin
> Maybe I forget to configure some file(s) ?
>
> Thank you
>
> Loic

I'am still trying to resolve my issue on Windows 7 64 bits.
No one have an idea about this error ?

Thank you

Best

Loic
October 07, 2015
On Wednesday, 7 October 2015 at 12:08:08 UTC, Loic wrote:
> On Tuesday, 15 September 2015 at 15:25:27 UTC, Loic wrote:
>> On Tuesday, 15 September 2015 at 12:37:46 UTC, Adam D. Ruppe wrote:
>>> On Tuesday, 15 September 2015 at 09:17:26 UTC, Loic wrote:
>>>> Error: cannot find source code for runtime library file 'object.d'
>>>
>>> How did you install dmd? The installer exe or the zip both should have come with all these files packaged together.
>>
>> Hello Adam,
>>
>> I installed with the exe installer, and set my path to C:\D\dmd2\windows\bin
>> Maybe I forget to configure some file(s) ?
>>
>> Thank you
>>
>> Loic
>
> I'am still trying to resolve my issue on Windows 7 64 bits.
> No one have an idea about this error ?
>
> Thank you
>
> Best
>
> Loic

Finally, I found the solution, by just changed the entry of "Environment" in sc.ini.

sorry

Thank you

Loic