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