LDC phobos2-ldc.lib(json.obj) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'

IntegratedDimensions IntegratedDimensions at gmail.com
Thu May 3 23:47:40 UTC 2018


trying to compile a simple program in x86. Compiles fine in dmd 
and ldcx64.

Seems like ldc is using the wrong lib for some reason?


phobos2-ldc.lib(json.obj) : fatal error LNK1112: module machine 
type 'x64' conflicts with target machine type 'x86'
Error: C:\Program Files (x86)\Microsoft Visual 
Studio\2017\Enterprise\VC\Tools\MSVC\14.11.25503\bin\HostX86\x86\link.exe failed with status: 1112

Tried replacing the x64 dir with the x86 and it didn't change so 
it isn't the library arch best I can tell.

Maybe this is a cross compilation issue?




More information about the Digitalmars-d-learn mailing list