<div dir="ltr"><div>hi all,</div><div><br></div><div><a href="http://clang.llvm.org/get_started.html">http://clang.llvm.org/get_started.html</a> <br></div><div>I am followed the instruction given in above article for compiling 64-bit toolset on windows using Visual studio 15.</div><div><br></div><div><br></div><div>Command used for visual studio project generation:- <b>cmake -Thost=x64 -G "Visual Studio 14" ..\llvm</b></div><div><b><br></b></div><div>it successfully generates LLVM.sln.</div><div><b>Now, open LLVM.sln and change the platform target to "debug-x64".</b></div><div>start building clang.exe project.</div><div><br></div><div>I am seeing below errors.</div><div><br></div><div>1. x64\Debug\ItaniumDemangle.obj : <b>fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'</b></div><div>2. x64\Debug\ClangASTNodesEmitter.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'</div><div>3. x64\Debug\AsmLexer.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'</div><div><br></div><div>And many more such error.</div><div><br></div><div><b>so, what to know solution for such errors or am i missing any steps?</b></div><div><b><br></b></div><div>Thanks in advance.!!</div></div>