The only think I know is that getting Visual Studio Express 2008 to do x64 builds involved a whole lot of hacking and such since x64 was not officially supported by VCExpress 2008. Has this changed with VC2010 Express? It would seem that the VC 2010 Express does NOT install the 64 bit toolset by default. Maybe have a look through this post:

<a href="http://social.msdn.microsoft.com/Forums/en-US/Vsexpressinstall/thread/e0ef4613-d90f-4eec-90db-41339ed31367 ">


__________________________________________________________
Mike Jackson                      www.bluequartz.net
Principal Software Engineer       mike.jack...@bluequartz.net
BlueQuartz Software               Dayton, Ohio


On Jun 1, 2010, at 12:00 PM, Schnurlinger Burli wrote:


Hello,

My OS is Vista64bit, I have VC2010Express ( Version 10.0.30319.1 RTMRel) and Windows7.1SDK installed. 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 When I configure specifying "Visual Studio 10" as the generator for this project, Cmake.exe is compiled by VC2010Express without any problems.

(1)

Cmake complains when I try configuring 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!

(2)

Cmake produces a fairly usable .sln-file when I choose “Specify native compilers” in the beginning of the CMake project generation
and let "C++" point to ( I couldn`t find any "devenv.exe" )
(a) "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE \VCExpress.exe"
or
(b) "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE \vsdiag_regwcf.exe"

After after following instructions from 
http://msdn.microsoft.com/en-us/library/9yb4317s.aspx
which basically means selecting x64" as plattform in VC2010- Configurationmanager
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
which basically means selecting "Windows7.1SDK" as plattformtoolset in VC2010-Propertymanager
VC2010Express complains alot about:
LINK : fatal error LNK1181: cannot open input file 'kernel32.lib'


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



Ihre E-Mails und mehr für unterwegs. Laden Sie Windows Live Hotmail kostenlos herunter. Melden Sie sich jetzt an._______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to