Can't build simple project. Very strange errors

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Apr 17 04:30:33 PDT 2017


On Friday, 14 April 2017 at 15:53:18 UTC, Rene Zwanenburg wrote:
> On Friday, 14 April 2017 at 15:42:33 UTC, Suliman wrote:
>> On Friday, 14 April 2017 at 15:40:18 UTC, Rene Zwanenburg 
>> wrote:
>>> On Friday, 14 April 2017 at 15:31:21 UTC, Suliman wrote:
>>>> On Friday, 14 April 2017 at 15:22:49 UTC, Rene Zwanenburg 
>>>> wrote:
>>>>> On Friday, 14 April 2017 at 09:49:09 UTC, Suliman wrote:
>>>>>> on: dub build --compiler=ldc2
>>>>>>
>>>>>>>link
>>>>>> OPTLINK (R) for Win32  Release 8.00.17
>>>>>
>>>>> Optlink isn't able to link object files produced by ldc. 
>>>>> Could you try an x64_86 build? You'll need the Microsoft 
>>>>> linker.
>>>>
>>>> I do not have VS on my PC :(
>>>
>>> You don't need VS, the Windows SDK should be fine too. It's a 
>>> free download :)
>>
>> How to check if it's installed and how to use linker from it?
>
> If it's installed you can find it in the programs and features 
> list as 'Windows Software Development Kit for Windows X'. The 
> DMD installer will look for it during installation, so 
> reinstalling DMD after installing the SDK should work. I'm not 
> sure how LDC does it, but last time I installed LDC it also 
> just worked.

I checked, it's installed. I reinstall dmd, but got same error 
with linker.


More information about the Digitalmars-d-learn mailing list