<div dir="ltr"><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">Hi,</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><br></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
I'm using Cmake 2.8.11.2 to configure a c++ project with compiler VS9 2008 Win64 on a 64bit Windows 7 machine but run into the error below (full printout attached). The log file referred to is nonexistent. Please advise.</p>
<p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><br></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">FYI: Uninstalling and reinstalling cmake does not resolve the issue nor deleting or using another project's CMakeCache.txt </p>
<p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><br></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">Thank you for your time.</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
<br></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">Wen</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><br></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
-------------------------------------------------------------------------------------------------</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><br></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
The C compiler identification is MSVC 15.0.30729.1</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">The CXX compiler identification is MSVC 15.0.30729.1</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
Check for working C compiler using: Visual Studio 9 2008 Win64</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">Check for working C compiler using: Visual Studio 9 2008 Win64 -- broken</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"> The C compiler "C:/Program Files (x86)/Microsoft Visual Studio</p>
<p style="font-family:arial,sans-serif;font-size:13px;margin:0px"> 9.0/VC/bin/cl.exe" is not able to compile a simple test program.</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><br></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">
It fails with the following output:</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><br></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"> Change Dir: C:/Users/wenl/Projects/Ducati/development/ISI-API-ImagingLab-ISIAPI-build/CMakeFiles/CMakeTmp</p>
<p style="font-family:arial,sans-serif;font-size:13px;margin:0px">...</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><br></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"> 1>.\cmTryCompileExec1913155671.dir\Debug\testCCompiler.obj : fatal error</p>
<p style="font-family:arial,sans-serif;font-size:13px;margin:0px"> LNK1112: module machine type 'X86' conflicts with target machine type</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px"> 'x64'</p>
<p style="font-family:arial,sans-serif;font-size:13px;margin:0px"><br></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">...</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px;color:rgb(255,0,0)">
</p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px;color:rgb(255,0,0)"></p><p style="font-family:arial,sans-serif;font-size:13px;margin:0px">Configuring incomplete, errors occurred!</p></div>