Thread overview | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
January 02, 2019 Vibe.d throw link error | ||||
---|---|---|---|---|
| ||||
I am using windows 10. I could not run vibe project. It just give me the error: Error: linker exit with status 1 Dmd failed with exit code 1 I have use different dmd from 0.080 till 0.083. The same error. What is the possible cause and solution to this error? |
January 02, 2019 Re: Vibe.d throw link error | ||||
---|---|---|---|---|
| ||||
Posted in reply to greatsam4sure | On Wednesday, 2 January 2019 at 20:52:26 UTC, greatsam4sure wrote:
> I am using windows 10. I could not run vibe project. It just give me the error:
>
> Error: linker exit with status 1
> Dmd failed with exit code 1
>
> I have use different dmd from 0.080 till 0.083. The same error.
>
> What is the possible cause and solution to this error?
Some more information would be useful.
Compiler flags, dub configuration and OS.
|
January 03, 2019 Re: Vibe.d throw link error | ||||
---|---|---|---|---|
| ||||
Posted in reply to bauss | On Wednesday, 2 January 2019 at 21:46:57 UTC, bauss wrote:
>>
>> Error: linker exit with status 1
>> Dmd failed with exit code 1
>>
This is all the compiler emit
|
January 03, 2019 Re: Vibe.d throw link error | ||||
---|---|---|---|---|
| ||||
Posted in reply to greatsam4sure | On Thursday, 3 January 2019 at 00:23:50 UTC, greatsam4sure wrote:
> On Wednesday, 2 January 2019 at 21:46:57 UTC, bauss wrote:
>>>
>>> Error: linker exit with status 1
>>> Dmd failed with exit code 1
>>>
> This is all the compiler emit
Windows 10 --- got it
VibeD project --- got it
Error --- got it
What exactly were you trying to do? What you have given so far offers no incite. Try providing a bit more information, offending code, cli command and associated arguments used, etc...
|
January 03, 2019 Re: Vibe.d throw link error | ||||
---|---|---|---|---|
| ||||
Posted in reply to greatsam4sure | On Thursday, 3 January 2019 at 00:23:50 UTC, greatsam4sure wrote:
> On Wednesday, 2 January 2019 at 21:46:57 UTC, bauss wrote:
>>>
>>> Error: linker exit with status 1
>>> Dmd failed with exit code 1
>>>
> This is all the compiler emit
I'm not asking for the error or what the compiler emits.
I'm asking how you're compiling vibe.d, what are your configurations etc.
|
January 04, 2019 Re: Vibe.d throw link error | ||||
---|---|---|---|---|
| ||||
Posted in reply to greatsam4sure | On Wednesday, 2 January 2019 at 20:52:26 UTC, greatsam4sure wrote:
> I am using windows 10. I could not run vibe project. It just give me the error:
>
> Error: linker exit with status 1
> Dmd failed with exit code 1
>
> I have use different dmd from 0.080 till 0.083. The same error.
>
> What is the possible cause and solution to this error?
Have you tried using the MSCOFF output of DMD?
|
January 04, 2019 Re: Vibe.d throw link error | ||||
---|---|---|---|---|
| ||||
Posted in reply to Me | On Thursday, 3 January 2019 at 04:57:57 UTC, Me wrote:
> On Thursday, 3 January 2019 at 00:23:50 UTC, greatsam4sure wrote:
>> On Wednesday, 2 January 2019 at 21:46:57 UTC, bauss wrote:
>>>>
>>>> Error: linker exit with status 1
>>>> Dmd failed with exit code 1
>>>>
>> This is all the compiler emit
>
> Windows 10 --- got it
> VibeD project --- got it
> Error --- got it
>
> What exactly were you trying to do? What you have given so far offers no incite. Try providing a bit more information, offending code, cli command and associated arguments used, etc...
Really don't know the cause. All dependence are up to date.
No offending code to the best of my knowledge.
All I did create a vibe.d project using dub unit HelloWorld --type=vibe.d
After which run the program in 's code using dub.
All dependence compile but after showing linking, it will throw link error.
I have run vibe.d project before. It just straight forward
|
January 04, 2019 Re: Vibe.d throw link error | ||||
---|---|---|---|---|
| ||||
Posted in reply to greatsam4sure | On Friday, 4 January 2019 at 09:48:55 UTC, greatsam4sure wrote:
> On Thursday, 3 January 2019 at 04:57:57 UTC, Me wrote:
>> On Thursday, 3 January 2019 at 00:23:50 UTC, greatsam4sure wrote:
>>> On Wednesday, 2 January 2019 at 21:46:57 UTC, bauss wrote:
>>>>>
>>>>> Error: linker exit with status 1
>>>>> Dmd failed with exit code 1
>>>>>
>>> This is all the compiler emit
>>
>> Windows 10 --- got it
>> VibeD project --- got it
>> Error --- got it
>>
>> What exactly were you trying to do? What you have given so far offers no incite. Try providing a bit more information, offending code, cli command and associated arguments used, etc...
>
>
> Really don't know the cause. All dependence are up to date.
>
> No offending code to the best of my knowledge.
>
> All I did create a vibe.d project using dub unit HelloWorld --type=vibe.d
>
> After which run the program in 's code using dub.
>
> All dependence compile but after showing linking, it will throw link error.
>
> I have run vibe.d project before. It just straight forward
Try to compile with -a=x86_mscoff if you're on Windows at least.
|
January 05, 2019 Re: Vibe.d throw link error | ||||
---|---|---|---|---|
| ||||
Posted in reply to bauss | On Friday, 4 January 2019 at 09:56:14 UTC, bauss wrote:
> On Friday, 4 January 2019 at 09:48:55 UTC, greatsam4sure wrote:
>> On Thursday, 3 January 2019 at 04:57:57 UTC, Me wrote:
>>> On Thursday, 3 January 2019 at 00:23:50 UTC, greatsam4sure wrote:
>>>> [...]
>>>
>>> Windows 10 --- got it
>>> VibeD project --- got it
>>> Error --- got it
>>>
>>> What exactly were you trying to do? What you have given so far offers no incite. Try providing a bit more information, offending code, cli command and associated arguments used, etc...
>>
>>
>> Really don't know the cause. All dependence are up to date.
>>
>> No offending code to the best of my knowledge.
>>
>> All I did create a vibe.d project using dub unit HelloWorld --type=vibe.d
>>
>> After which run the program in 's code using dub.
>>
>> All dependence compile but after showing linking, it will throw link error.
>>
>> I have run vibe.d project before. It just straight forward
>
> Try to compile with -a=x86_mscoff if you're on Windows at least.
Thanks this work for me. What is the reason I must add -a=x86-mscoff to dub before my code compiles.
What can I do to compile or run vibe.d project without adding -a=x86-mscoff to dub
Thanks in advance
|
January 05, 2019 Re: Vibe.d throw link error | ||||
---|---|---|---|---|
| ||||
Posted in reply to greatsam4sure | On Saturday, 5 January 2019 at 18:44:33 UTC, greatsam4sure wrote:
> On Friday, 4 January 2019 at 09:56:14 UTC, bauss wrote:
>> On Friday, 4 January 2019 at 09:48:55 UTC, greatsam4sure wrote:
>>> On Thursday, 3 January 2019 at 04:57:57 UTC, Me wrote:
>>>> On Thursday, 3 January 2019 at 00:23:50 UTC, greatsam4sure wrote:
>>>>> [...]
>>>>
>>>> Windows 10 --- got it
>>>> VibeD project --- got it
>>>> Error --- got it
>>>>
>>>> What exactly were you trying to do? What you have given so far offers no incite. Try providing a bit more information, offending code, cli command and associated arguments used, etc...
>>>
>>>
>>> Really don't know the cause. All dependence are up to date.
>>>
>>> No offending code to the best of my knowledge.
>>>
>>> All I did create a vibe.d project using dub unit HelloWorld --type=vibe.d
>>>
>>> After which run the program in 's code using dub.
>>>
>>> All dependence compile but after showing linking, it will throw link error.
>>>
>>> I have run vibe.d project before. It just straight forward
>>
>> Try to compile with -a=x86_mscoff if you're on Windows at least.
>
>
>
>
>
> Thanks this work for me. What is the reason I must add -a=x86-mscoff to dub before my code compiles.
>
> What can I do to compile or run vibe.d project without adding -a=x86-mscoff to dub
>
> Thanks in advance
Because the default linker for DMD is buggy so using the Microsoft linker will do the job.
|
Copyright © 1999-2021 by the D Language Foundation