<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=#002060>Thank you for your prompt consideration!</FONT><BR> <BR> <BR><FONT color=#17365d>My OS is Vista64bit, I have VC2010Express ( Version 10.0.30319.1 RTMRel) and Windows7.1SDK installed.</FONT><BR><FONT color=#002060>"64-bit tools are not available on Visual C++ Express by default."</FONT><BR><FONT color=#002060>"To enable 64-bit tools on Visual C++ Express, install the Windows Software Development Kit (SDK) in addition to Visual C++ Express."</FONT><BR><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><A href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=35aeda01-421d-4ba5-b44b-543dc8c33a20"><FONT color=#7030a0>http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=35aeda01-421d-4ba5-b44b-543dc8c33a20</FONT></A><BR> <BR><FONT color=#002060>VC++-Directories are now stored in property-pages instead of</FONT><FONT color=#002060> Extras/Options/Projects and Solutionfiles/VC++-Directories</FONT><BR><FONT color=#002060>Therefore non of the 64bit-issues with VC2008Express should be a problem with VC2010Express</FONT><BR><A href="http://blogs.msdn.com/b/vsproject/archive/2009/07/07/vc-directories.aspx"><FONT color=#7030a0>http://blogs.msdn.com/b/vsproject/archive/2009/07/07/vc-directories.aspx</FONT></A><BR><A href="http://jenshuebel.wordpress.com/2009/02/12/visual-c-2008-express-edition-and-64-bit-targets/"><FONT color=#7030a0>http://jenshuebel.wordpress.com/2009/02/12/visual-c-2008-express-edition-and-64-bit-targets/</FONT></A><BR> <BR> <BR><U><FONT color=#3f3f3f>1. Issue with VC2008Express: </FONT></U><BR><FONT color=#3f3f3f>VS-Express doesn`t use the desired libraries</FONT><BR><U><FONT color=#1f497d>Reason:</FONT></U><BR><FONT color=#1f497d>the configurationtool from the SDK doesn`t work with VS2008 and VSExpress.</FONT><BR><U><FONT color=#00b050>Workaround:</FONT></U><BR><FONT color=#00b050>edit value "CurrentInstallFolder" in HKEY_CURRENT_USER\Software\Microsoft\Microsoft SDKs\Windows\</FONT><BR><FONT color=#00b050>to resemble path of the desired SDK, </FONT><BR><FONT color=#00b050>for example:</FONT><BR><FONT color=#00b050> C:\Program Files\Microsoft SDKs\Windows\v6.0A\<BR> for use of libraries from SDK v6.0A included in VS2008<BR> C:\Program Files\Microsoft SDKs\Windows\v6.1\ <BR> for use of libraries from Windows SDK for Server 2008 v6.1 </FONT><BR><BR><U><FONT color=#3f3f3f>2. Issue with VC2008Express: </FONT></U><BR><FONT color=#3f3f3f>VS-Express is 32bit-Application and needs a 32bit-Compiler capable of crosscompiling to 64bit-targets<BR></FONT><FONT color=#1f497d><U>Reason:</U> </FONT><BR><FONT color=#1f497d>Windows-SDK installs on 64bit-OS the native 64bit-Compiler, which is useless in this case</FONT><BR><FONT color=#00b050><U>Workaround:</U> </FONT><BR><FONT color=#00b050>Replace VCProjectAMD64Platform.dll in $(InstallDir)\VC\vcpackages (64Bit-Version 370KB)</FONT><BR><FONT color=#00b050>by 32bit-version (283KB) from $(InstallDir)\VC\bin\x86_amd64 <BR>In case not found there: </FONT><BR><FONT color=#00b050>DLL is also on DVD-immage in \Setup dir in vc_stdx86.cab. Beginns with FL_VCProjectAMD64Platform...</FONT><BR> <BR><U><FONT color=#3f3f3f>3. Issue with VC2008Express: </FONT></U><BR><FONT color=#3f3f3f>"Win32" is the only selectable plattform in Extras/Options/Projects and Solutionfiles/VC++-Directories</FONT><BR><FONT color=#17365d><U>Reason:</U> </FONT><BR><FONT color=#17365d>Windows-SDK installation produces registrykeys corresponding to full version of VisualStudio instead of VCExpress</FONT><BR><FONT color=#17365d> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Visual Studio\9.0\VC\VC_OBJECTS_PLATFORM_INFO]</FONT><BR><FONT color=#17365d> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{656d8763-2429-11d7-8bf6-00b0d03daa06}<BR> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{656d8760-2429-11d7-8bf6-00b0d03daa06}<BR> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{656d8763-2429-11d7-8bf6-00b0d03daa06}<BR> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{656d875f-2429-11d7-8bf6-00b0d03daa06}</FONT><BR><U><FONT color=#00b050>Workaround:</FONT></U><BR><FONT color=#00b050>Replace entries above begining with [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\...] <BR>-on 64bit OS by [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VCExpress\9.0...]<BR>-on 32bit OS by [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCExpress\9.0\...]</FONT><BR> <BR><FONT color=#3f3f3f><U>4. Issue with VC2008Express:</U></FONT><BR><FONT color=#3f3f3f>Empty list for "x64" in Extras/Options/Projects and Solutionfiles/VC++-Directories</FONT><BR><FONT color=#1f497d><U>Reason:</U> </FONT><BR><FONT color=#1f497d>Windows_SDK places file AMD64.VCPlatform.config in $(InstallDir)\VC\vcpackages</FONT><BR><FONT color=#00b050><U>Workaround:</U> </FONT><BR><FONT color=#00b050>Rename file AMD64.VCPlatform.config in AMD64.VCPlatform.Express.config</FONT><BR> <BR> <BR><U><FONT color=#953734>Conclusion for VC2010Express:</FONT></U><BR><FONT color=#002060><FONT color=#262626>Regarding the first issue, I found some keys pointing to the Windows7.0ASDK included with VC2010Express,</FONT><BR><FONT color=#262626>but no keys in my registry resembling HKEY_CURRENT_USER\Software\Microsoft</FONT><BR><FONT color=#00b050>So just to make sure, I manually changed the values in</FONT><BR><FONT color=#00b050>HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MicrosoftSDKs/Windows/CurrentInstallFolder </FONT><BR><FONT color=#00b050>to C:\Program Files\Microsoft SDKs\Windows\v7.1\</FONT><BR><FONT color=#00b050>and HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/MicrosoftSDKs/Windows/CurrentVersion </FONT><BR><FONT color=#00b050>to 7.1.7600.0.30514</FONT><BR> <BR>Nevertheless, either Cmake or VC2010express keep complaining: " cannot open file 'kernel32.lib' "<BR></FONT><FONT color=#002060>Best regards, Eddi</FONT><BR><FONT color=#002060></FONT> <BR><FONT color=#002060></FONT> <BR><FONT color=#002060></FONT> <BR><FONT color=#002060></FONT> <BR><FONT color=#002060></FONT> <BR><FONT color=#002060></FONT> <BR><FONT color=#002060></FONT> <BR><FONT color=#002060></FONT> <BR><BR> <BR>> CC: cmake@cmake.org<BR>> From: mike.jackson@bluequartz.net<BR>> To: schnurliburli@hotmail.com<BR>> Subject: Re: [CMake] x64 possible using Cmake2.8.1 for VC2010Express + Windows7.1SDK ??<BR>> Date: Tue, 1 Jun 2010 12:38:49 -0400<BR>> <BR>> The only think I know is that getting Visual Studio Express 2008 to do <BR>> x64 builds involved a whole lot of hacking and such since x64 was not <BR>> officially supported by VCExpress 2008. Has this changed with VC2010 <BR>> Express? It would seem that the VC 2010 Express does NOT install the <BR>> 64 bit toolset by default. Maybe have a look through this post:<BR>> <BR>> <a href="http://social.msdn.microsoft.com/Forums/en-US/Vsexpressinstall/thread/e0ef4613-d90f-4eec-90db-41339ed31367 <BR>> "><BR>> <BR>> <BR>> __________________________________________________________<BR>> Mike Jackson www.bluequartz.net<BR>> Principal Software Engineer mike.jackson@bluequartz.net<BR>> BlueQuartz Software Dayton, Ohio<BR>> <BR>> <BR>> On Jun 1, 2010, at 12:00 PM, Schnurlinger Burli wrote:<BR>> <BR>> ><BR>> > Hello,<BR>> ><BR>> > My OS is Vista64bit, I have VC2010Express ( Version 10.0.30319.1 <BR>> > RTMRel) and Windows7.1SDK installed.<BR>> > I have 32bit-Cmake2.8.1 installed and http://www.cmake.org/files/v2.8/CMakeVS10FindMake.cmake <BR>> > 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 <BR>> > this project, Cmake.exe is compiled by VC2010Express without any <BR>> > problems.<BR>> ><BR>> > (1)<BR>> ><BR>> > Cmake complains when I try configuring 64bit-Cmake2.8.1 specifying <BR>> > "Visual Studio 10 Win64" as the generator for this project:<BR>> ><BR>> > Check for working C compiler using: Visual Studio 10 Win64<BR>> > Check for working C compiler using: Visual Studio 10 Win64 -- broken<BR>> > CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/ <BR>> > Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):<BR>> > The C compiler "cl" is not able to compile a simple test program.<BR>> > (...)<BR>> > LINK : fatal error LNK1104: cannot open file 'kernel32.lib'<BR>> > (...)<BR>> > Configuring incomplete, errors occurred!<BR>> ><BR>> > (2)<BR>> ><BR>> > Cmake produces a fairly usable .sln-file when I choose “Specify <BR>> > 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 <BR>> > \VCExpress.exe"<BR>> > or<BR>> > (b) "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE <BR>> > \vsdiag_regwcf.exe"<BR>> ><BR>> > After after following instructions from http://msdn.microsoft.com/en-us/library/9yb4317s.aspx<BR>> > which basically means selecting x64" as plattform in VC2010- <BR>> > Configurationmanager<BR>> > and optionally following instructions from http://blogs.msdn.com/b/vcblog/archive/2009/05/20/using-the-windows-7-rc-sdk-in-visual-c-2010-beta-1.aspx<BR>> > which basically means selecting "Windows7.1SDK" as plattformtoolset <BR>> > in VC2010-Propertymanager<BR>> > VC2010Express complains alot about:<BR>> > LINK : fatal error LNK1181: cannot open input file 'kernel32.lib'<BR>> ><BR>> ><BR>> > What is the right way using Cmake targeting x64 with VC2010Express <BR>> > and WindowsSDK7.1 ??<BR>> > Best regards, Eddi<BR>> ><BR>> ><BR>> ><BR>> > Ihre E-Mails und mehr für unterwegs. Laden Sie Windows Live Hotmail <BR>> > kostenlos herunter. Melden Sie sich jetzt <BR>> > an._______________________________________________<BR>> > Powered by www.kitware.com<BR>> ><BR>> > Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html<BR>> ><BR>> > Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ<BR>> ><BR>> > Follow this link to subscribe/unsubscribe:<BR>> > http://www.cmake.org/mailman/listinfo/cmake<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">Melden Sie sich jetzt an.</A><BR>                                            <br /><hr />Hotmail: Vertrauenswürdige E-Mails dank dem leistungsstarken SPAM-Schutz von Microsoft. <a href='https://signup.live.com/signup.aspx?id=60969' target='_new'>Melden Sie sich jetzt an.</a></body>
</html>