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.
https://signup.live.com/signup.aspx?id=60969_______________________________________________
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