Vibe.d throw link error
bauss
jj_1337 at live.dk
Sat Jan 5 19:40:17 UTC 2019
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.
More information about the Digitalmars-d-learn
mailing list