<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<BR>
<FONT color=#1f497d>Hello,</FONT><BR>
<FONT color=#1f497d></FONT> <BR>
<FONT color=#1f497d>My OS is Vista64bit, I have VC2010Express ( Version 10.0.30319.1 RTMRel) and Windows7.1SDK installed.</FONT><BR>
<FONT color=#1f497d>I have 32bit-Cmake2.8.1 installed and </FONT><A href="http://www.cmake.org/files/v2.8/CMakeVS10FindMake.cmake"><FONT color=#7030a0>http://www.cmake.org/files/v2.8/CMakeVS10FindMake.cmake</FONT></A><FONT color=#1f497d><FONT color=#7030a0> </FONT>is in C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules<BR>When I configure specifying "Visual Studio 10" as the generator for this project, Cmake.exe is compiled by VC2010Express without any problems.</FONT><BR>
<BR><FONT color=#1f497d>(1)</FONT><BR>
<STRONG><FONT color=#1f497d></FONT></STRONG> <BR>
<FONT color=#1f497d>Cmake complains when I try configuring 64bit-Cmake2.8.1 specifying "Visual Studio 10 Win64" as the generator for this project:</FONT><BR>
<BR><FONT color=#1f497d>Check for working C compiler using: Visual Studio 10 Win64</FONT><BR>
<FONT color=#1f497d>Check for working C compiler using: Visual Studio 10 Win64 -- broken</FONT><BR>
<FONT color=#1f497d>CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):</FONT><BR>
<FONT color=#1f497d>The C compiler "cl" is not able to compile a simple test program.</FONT><BR>
<FONT color=#1f497d>(...)</FONT><BR>
<FONT color=#1f497d><FONT color=#c00000>LINK : fatal error LNK1104: cannot open file 'kernel32.lib' </FONT><BR>(...)<BR>Configuring incomplete, errors occurred!</FONT><BR>
<BR><FONT color=#1f497d>(2) </FONT><BR>
<FONT color=#1f497d></FONT> <BR>
<FONT color=#1f497d>Cmake produces a fairly usable .sln-file when I choose “Specify native compilers” in the beginning of the CMake project generation <BR>and let "C++" point to ( I couldn`t find any "devenv.exe" )<BR>(a) "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\VCExpress.exe"</FONT><BR>
<FONT color=#1f497d>or<BR>(b) "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\vsdiag_regwcf.exe"</FONT><BR>
<FONT color=#1f497d></FONT> <BR>
<FONT color=#1f497d>After after following instructions from </FONT><A href="http://msdn.microsoft.com/en-us/library/9yb4317s.aspx"><FONT color=#7030a0>http://msdn.microsoft.com/en-us/library/9yb4317s.aspx</FONT></A><BR><FONT color=#1f497d>which basically means selecting x64" as plattform in VC2010-Configurationmanager<BR>and optionally following instructions from </FONT><A href="http://blogs.msdn.com/b/vcblog/archive/2009/05/20/using-the-windows-7-rc-sdk-in-visual-c-2010-beta-1.aspx"><FONT color=#7030a0>http://blogs.msdn.com/b/vcblog/archive/2009/05/20/using-the-windows-7-rc-sdk-in-visual-c-2010-beta-1.aspx</FONT></A><BR><FONT color=#1f497d>which basically means selecting "Windows7.1SDK" as plattformtoolset in VC2010-Propertymanager<BR>VC2010Express complains alot about:</FONT><BR>
<FONT color=#c00000>LINK : fatal error LNK1181: cannot open input file 'kernel32.lib'</FONT><BR>
<FONT color=#1f497d></FONT> <BR>
<FONT color=#1f497d></FONT> <BR>
<FONT color=#1f497d>What is the right way using Cmake targeting x64 with VC2010Express and WindowsSDK7.1 ??</FONT><BR>
<FONT color=#1f497d>Best regards, Eddi</FONT><BR>
<BR>
<BR>                                            <br /><hr />Ihre E-Mails und mehr für unterwegs. Laden Sie Windows Live Hotmail kostenlos herunter. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Melden Sie sich jetzt an.</a></body>
</html>