Linking Problem: Fatal Error Lnk1112: Module MAChine Type 'X64' Conflicts with Target MAChine Type 'X86'

fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' running build via vcvarsall.bat x86

Thank you all for input.After debugging for two days. I found that I have multiple installations of boost library included in my solution

LNK1112: module machine type 'x64' conflicts with target machine type 'x86' - opencv build

When you did select Visual Studio version in CMake (step 7.4.a) then it need select a 64 bit compiler: "Visual Studio 15 64" instead "Visual Studio 15".

Python: fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'x86'

It might be because you are using x86 C/C++ compiler instead of x64.

Try adding PATH variable of folder containing your x64 compiler and moving that variable to the top of the list



Related Topics



Leave a reply



Submit