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
C/C++: Static Function in Header File, What Does It Mean
Undefined Symbols for Architecture X86_64 - Mavericks (Yosemite, El Capitan...)
How to Validate That a String Is a Valid Ipv4 Address in C++
What's the Difference Between Span and Array_View in the Gsl Library
Static Global Variables in C++
C++ Can Compilers Inline a Function Pointer
Using a Static Library in Qt Creator
Exclude Source File in Compilation Using Makefile
Is It True That There Is No Need to Learn C Because C++ Contains Everything
Converting Between C++ Std::Vector and C Array Without Copying
How to Use the _Attribute_((Visibility("Default")))
Findchessboardcorners Cannot Detect Chessboard on Very Large Images by Long Focal Length Lens
How to Create Objects While Adding Them into a Vector
C++ Most Efficient Way to Convert String to Int (Faster Than Atoi)