Windows + LDC/DMD installation nightmare when changing VS versions

mw mingwu at gmail.com
Fri Jun 12 16:19:31 UTC 2020


On Friday, 12 June 2020 at 16:16:18 UTC, mw wrote:
> On Friday, 12 June 2020 at 15:21:12 UTC, Guillaume Piolat wrote:
>> 
>> - With LDC + 32-bit it still fail with:
>>
>>   libcmt.lib(chkstk.obj) : fatal error LNK1112: module machine 
>> type 'X86' conflicts with target machine type 'x64'
>>   Error: C:\Program Files (x86)\Microsoft Visual Studio 
>> 14.0\VC\BIN\link.exe failed with status: 1112
>>   ldc2 failed with exit code 1.
>>   error: Command 'dub build --build=debug --arch=x86_64
>
> --arch=x86_64 ?
>
> check where this config is set? you said it’s for 32 bit
>
>
>> --compiler=ldc2 --config=VST-FULL' returned 2


> - With DMD + 32-bit it works.

Find the corresponding DMD working command config, and set it to 
ldc2 accordingly.


More information about the Digitalmars-d-learn mailing list