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

Rocco Gasteiger post at rocco-gasteiger.de
Tue Jun 1 09:46:51 EDT 2010


Hi Eddi,

 

ok, that seems to be correct. I did  not know this because I have seen
visual studio version with and without x64 WoW. Thank you for your
information.

 

Following you can try. 

1.       In the beginning of the CMake project generation select “Specify
native compilers”, instead of selecting one out of the combo box. 

2.       In “C++” point to the folder of your compiler e.g. Visual Studio
2008, 64Bit:  “C:\Program Files (x86)\Microsoft Visual Studio
9.0\Common7\IDE\devenv.exe”

 

I hope this helps.

Best regards, Rocco

 

Von: Schnurlinger Burli [mailto:schnurliburli at hotmail.com] 
Gesendet: Dienstag, 1. Juni 2010 15:29
An: post at rocco-gasteiger.de
Betreff: RE: AW: [vtkusers] x64 with Cmake2.8.1 for VC2010Express +
Windows7.1SDK

 

Hello,
 
Thank you for your prompt consideration!
 
To setup VC2010Express I downloaded this .iso-file:
 <http://www.microsoft.com/express/downloads/#2010-All>
http://www.microsoft.com/express/downloads/#2010-All
 
I`m not quite sure what you mean by "64Bit version of VS2010Express".
"Visual Studio 2010 is a 32-bit application and when installed on a 64-bit
Windows operating system will run under WOW64."
 <http://msdn.microsoft.com/en-us/library/ms241064.aspx>
http://msdn.microsoft.com/en-us/library/ms241064.aspx
"Visual Studio 2005 uses the 32-bit cross compiler even on a Windows 64-bit
computer"
 <http://msdn.microsoft.com/en-us/library/ms246588(VS.80).aspx>
http://msdn.microsoft.com/en-us/library/ms246588(VS.80).aspx
 
 
According to my information all express-versions of VS come without
64Bit-compiler
 
<http://www.microsoft.com/express/Charts/VisualStudio-Express-2010-Feature-C
hart.aspx>
http://www.microsoft.com/express/Charts/VisualStudio-Express-2010-Feature-Ch
art.aspx
"64-bit tools are not available on Visual C++ Express by default."
 <http://msdn.microsoft.com/en-us/library/9yb4317s.aspx>
http://msdn.microsoft.com/en-us/library/9yb4317s.aspx
 
To enable 64-bit tools on Visual C++ Express I had to install Windows7.1SDK:
 
<http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=35a
eda01-421d-4ba5-b44b-543dc8c33a20>
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=35ae
da01-421d-4ba5-b44b-543dc8c33a20
 
 
Best regards, Eddi
 

  _____  

From: post at rocco-gasteiger.de
To: schnurliburli at hotmail.com
Subject: AW: [vtkusers] x64 with Cmake2.8.1 for VC2010Express +
Windows7.1SDK
Date: Tue, 1 Jun 2010 14:20:26 +0200

Hello,

 

Do you have a 64Bit version of your VS2010Express? Otherwise, this would be
the reason for the occurred errors I think.

 

Best regards, Rocco

 

Von: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] Im Auftrag
von Schnurlinger Burli
Gesendet: Dienstag, 1. Juni 2010 13:50
An: vtkusers at vtk.org
Betreff: [vtkusers] x64 with Cmake2.8.1 for VC2010Express + Windows7.1SDK

 


I have 32bit-Cmake2.8.1 installed and
<http://www.cmake.org/files/v2.8/CMakeVS10FindMake.cmake>
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-a
nd-property-sheets.aspx>
http://blogs.msdn.com/b/vsproject/archive/2009/06/23/inherited-properties-an
d-property-sheets.aspx
-WindowsSDK in VS2010:
<http://blogs.msdn.com/b/vcblog/archive/2009/05/20/using-the-windows-7-rc-sd
k-in-visual-c-2010-beta-1.aspx>
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>
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. Melden Sie
<https://signup.live.com/signup.aspx?id=60969>  sich jetzt an.

 

  _____  

Hotmail: Vertrauenswürdige E-Mails dank dem leistungsstarken SPAM-Schutz von
Microsoft. Melden Sie <https://signup.live.com/signup.aspx?id=60969>  sich
jetzt an.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100601/732ac33a/attachment.htm>


More information about the vtkusers mailing list