[vtkusers] x64 with Cmake2.8.1 for VC2010Express + Windows7.1SDK

Schnurlinger Burli schnurliburli at hotmail.com
Tue Jun 1 07:49:49 EDT 2010



I have 32bit-Cmake2.8.1 installed and http://www.cmake.org/files/v2.8/CMakeVS10FindMake.cmake is in C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules
My OS is Vista64bit, I have VC2010Express ( Version 10.0.30319.1 RTMRel) and Windows7.1SDK installed.
I`m trying to configure 64bit-Cmake2.8.1 specifying "Visual Studio 10 Win64" as the generator for this project.



Check for working C compiler using: Visual Studio 10 Win64

Check for working C compiler using: Visual Studio 10 Win64 -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "cl" is not able to compile a simple test program.
(...)
LINK : fatal error LNK1104: cannot open file 'kernel32.lib' 
(...)
Configuring incomplete, errors occurred!
 
  
In VC2010Express I would proceed selecting "Windows7.1SDK" as plattformtoolset in VC2010-Propertymanager and "x64" as plattform in VC2010-Konfigurationmanager:
-Propertymanager in VS2010: http://blogs.msdn.com/b/vsproject/archive/2009/06/23/inherited-properties-and-property-sheets.aspx
-WindowsSDK in VS2010: http://blogs.msdn.com/b/vcblog/archive/2009/05/20/using-the-windows-7-rc-sdk-in-visual-c-2010-beta-1.aspx
-targeting 64bit in VS2010: http://msdn.microsoft.com/en-us/library/ms185328.aspx

What is the right way using Cmake targeting x64 with VC2010Express and WindowsSDK7.1 ??


 



  		 	   		  
_________________________________________________________________
Ihre E-Mails und mehr für unterwegs. Laden Sie Windows Live Hotmail kostenlos herunter.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100601/f8e17f50/attachment.htm>


More information about the vtkusers mailing list