<div dir="ltr"><br>Any one can advice plz???<br><div class="gmail_quote"><br><br><div dir="ltr">Yes the VC++ runs a simple code perfectly without the CMAKE <div>but I don't have the Microsoft Windows SDK in the start menu and when i checked this link </div>
<div><br></div><div><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms759194(v=vs.85).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/windows/desktop/ms759194(v=vs.85).aspx</a> </div>
<div><br></div><div>it says install the Core SDK which I didn't find there. Any ideas which one shall I install??<div><div class="h5"><br><br><div class="gmail_quote">On 28 March 2012 01:01, David Cole <span dir="ltr"><<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In the Start menu, do you have a "Microsoft Windows SDK ..."?<br>
<br>
If not, install it.<br>
<br>
If so, please verify that you can build a simple hello world command<br>
line Win32 app WITHOUT CMake before trying to use CMake. CMake needs<br>
Visual Studio to be able to build a simple app before it can be<br>
useful.<br>
<div><div><br>
<br>
On Tue, Mar 27, 2012 at 3:17 PM, Sweety Pie <<a href="mailto:sweetyp198612@gmail.com" target="_blank">sweetyp198612@gmail.com</a>> wrote:<br>
> I have installed Cmake 2.8.7 but still the same error occures. How can I<br>
> know whether the corresponding Windows Platform<br>
> SDK installed is proper or not?<br>
><br>
><br>
><br>
> On 27 March 2012 15:33, David Cole <<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>> wrote:<br>
>><br>
>> On Tue, Mar 27, 2012 at 4:37 AM, Sweety Pie <<a href="mailto:sweetyp198612@gmail.com" target="_blank">sweetyp198612@gmail.com</a>><br>
>> wrote:<br>
>> > The visual studio runs perfectly but the compiler in the Cmake shows<br>
>> > this<br>
>> > error:<br>
>> ><br>
>> > Check for working C compiler using: Visual Studio 10<br>
>> ><br>
>> > Check for working C compiler using: Visual Studio 10 -- broken<br>
>> ><br>
>> > CMake Error at C:/Program Files (x86)/CMake<br>
>> > 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):<br>
>> ><br>
>> > The C compiler "cl" is not able to compile a simple test program.<br>
>> ><br>
>> > It fails with the following output:<br>
>> ><br>
>> > Change Dir: C:/Program Files (x86)/CGAL-3.8/CMakeFiles/CMakeTmp<br>
>> ><br>
>> > Run Build<br>
>> > Command:C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe<br>
>> ><br>
>> > cmTryCompileExec.vcxproj /p:Configuration=Debug<br>
>> ><br>
>> > Microsoft (R) Build Engine Version 4.0.30319.1<br>
>> ><br>
>> > [Microsoft .NET Framework, Version 4.0.30319.261]<br>
>> ><br>
>> > Copyright (C) Microsoft Corporation 2007. All rights reserved.<br>
>> ><br>
>> > Build started 3/27/2012 11:04:22 AM.<br>
>> ><br>
>> > Project "C:\Program Files<br>
>> ><br>
>> > (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" on node 1<br>
>> ><br>
>> > (default targets).<br>
>> ><br>
>> > InitializeBuildStatus:<br>
>> ><br>
>> > Creating "cmTryCompileExec.dir\Debug\cmTryCompileExec.unsuccessfulbuild"<br>
>> > because "AlwaysCreate" was specified.<br>
>> ><br>
>> > ClCompile:<br>
>> ><br>
>> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /Zi<br>
>> > /nologo /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D<br>
>> > "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /MDd /GS /fp:precise /Zc:wchar_t<br>
>> > /Zc:forScope /Fo"cmTryCompileExec.dir\Debug\\" /Fd"C:/Program Files<br>
>> > (x86)/CGAL-3.8/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" /Gd /TC<br>
>> > /analyze- /errorReport:queue testCCompiler.c /Zm1000 /GZ<br>
>> ><br>
>> > cl : Command line warning D9035: option 'GZ' has been deprecated and<br>
>> > will<br>
>> ><br>
>> > be removed in a future release [C:\Program Files<br>
>> ><br>
>> > (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]<br>
>> ><br>
>> > cl : Command line warning D9036: use 'RTC1' instead of 'GZ' [C:\Program<br>
>> ><br>
>> > Files (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]<br>
>> ><br>
>> > testCCompiler.c<br>
>> ><br>
>> > ManifestResourceCompile:<br>
>> ><br>
>> > C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo<br>
>> > /fo"cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res"<br>
>> > cmTryCompileExec.dir\Debug\cmTryCompileExec_manifest.rc<br>
>> ><br>
>> > Link:<br>
>> ><br>
>> > C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe<br>
>> > /ERRORREPORT:QUEUE /OUT:"C:\Program Files<br>
>> > (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.exe"<br>
>> > /VERSION:"0.0" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib<br>
>> > winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib<br>
>> > oleaut32.lib<br>
>> > uuid.lib odbc32.lib odbccp32.lib /MANIFEST<br>
>> ><br>
>> > /ManifestFile:"cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.intermediate.manifest"<br>
>> > /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEBUG<br>
>> > /PDB:"C:\Program<br>
>> > Files (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec.pdb"<br>
>> > /SUBSYSTEM:CONSOLE /STACK:"10000000" /TLBID:1 /DYNAMICBASE /NXCOMPAT<br>
>> > /IMPLIB:"C:/Program Files<br>
>> > (x86)/CGAL-3.8/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.lib"<br>
>> > /MACHINE:X86<br>
>> > cmTryCompileExec.dir\Debug\cmTryCompileExec.exe.embed.manifest.res<br>
>> ><br>
>> > cmTryCompileExec.dir\Debug\testCCompiler.obj /machine:X86 /debug<br>
>> ><br>
>> > LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib' [C:\Program<br>
>> ><br>
>> > Files (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]<br>
>> ><br>
>> > Done Building Project "C:\Program Files<br>
>> ><br>
>> > (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default<br>
>> ><br>
>> > targets) -- FAILED.<br>
>> ><br>
>> > Build FAILED.<br>
>> ><br>
>> > "C:\Program Files<br>
>> ><br>
>> > (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default<br>
>> ><br>
>> > target) (1) -><br>
>> ><br>
>> > (ClCompile target) -><br>
>> ><br>
>> > cl : Command line warning D9035: option 'GZ' has been deprecated and<br>
>> > will be<br>
>> > removed in a future release [C:\Program Files<br>
>> > (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]<br>
>> ><br>
>> > cl : Command line warning D9036: use 'RTC1' instead of 'GZ' [C:\Program<br>
>> > Files (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]<br>
>> ><br>
>> > "C:\Program Files<br>
>> ><br>
>> > (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj" (default<br>
>> ><br>
>> > target) (1) -><br>
>> ><br>
>> > (Link target) -><br>
>> ><br>
>> > LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib' [C:\Program<br>
>> > Files<br>
>> > (x86)\CGAL-3.8\CMakeFiles\CMakeTmp\cmTryCompileExec.vcxproj]<br>
>> ><br>
>> > 2 Warning(s)<br>
>> ><br>
>> > 1 Error(s)<br>
>> ><br>
>> > Time Elapsed 00:00:01.62<br>
>> ><br>
>> > CMake will not be able to correctly generate this project.<br>
>> ><br>
>> > Call Stack (most recent call first):<br>
>> ><br>
>> > CMakeLists.txt:6 (project)<br>
>> ><br>
>> > Configuring incomplete, errors occurred!<br>
>> ><br>
>> ><br>
>> > On 25 March 2012 00:49, Sweety Pie <<a href="mailto:sweetyp198612@gmail.com" target="_blank">sweetyp198612@gmail.com</a>> wrote:<br>
>> >><br>
>> >> I use CMake 2.8.4<br>
>> >> I have both installed but in the config of Cmake I choose this option:<br>
>> >> Visual Studio 10<br>
>> >> What is the windows platform SDK??<br>
>> >> Thank you for helping.<br>
>> >><br>
>> >> On 24 March 2012 21:54, David Cole <<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>> wrote:<br>
>> >>><br>
>> >>> Can you build a non-cmake-generated "hello, world" project with VS 10?<br>
>> >>><br>
>> >>> What version of CMake?<br>
>> >>> Is it the Express Edition of Visual Studio 10?<br>
>> >>> Do you have a Windows Platform SDK installed?<br>
>> >>><br>
>> >>><br>
>> >>> On Sat, Mar 24, 2012 at 1:55 PM, Sweety Pie <<a href="mailto:sweetyp198612@gmail.com" target="_blank">sweetyp198612@gmail.com</a>><br>
>> >>> wrote:<br>
>> >>> ><br>
>> >>> ><br>
>> >>> > ---------- Forwarded message ----------<br>
>> >>> > From: Sweety Pie <<a href="mailto:sweetyp198612@gmail.com" target="_blank">sweetyp198612@gmail.com</a>><br>
>> >>> > Date: 17 March 2012 19:53<br>
>> >>> > Subject: Help with CMAKE<br>
>> >>> > To: <a href="mailto:cmake@cmake.org" target="_blank">cmake@cmake.org</a><br>
>> >>> ><br>
>> >>> ><br>
>> >>> > Hey everyone,<br>
>> >>> > Am trying to use Cmake with Visual studio 10 to generate some .sln<br>
>> >>> > files.<br>
>> >>> > When I press on configure button am getting this error:<br>
>> >>> ><br>
>> >>> > CMake Error at C:/CMake<br>
>> >>> > 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):<br>
>> >>> ><br>
>> >>> > The C compiler "cl" is not able to compile a simple test program.<br>
>> >>> ><br>
>> >>> > It fails with the following output:<br>
>> >>> ><br>
>> >>> > Change Dir: C:/CGAL-3.9/CMakeFiles/CMakeTmp<br>
>> >>> ><br>
>> >>> ><br>
>> >>> > "C:\CGAL-3.9\CMakeFiles\CMakeTmp\testCCompiler.c" /Zm1000<br>
>> >>> ><br>
>> >>> > 1><br>
>> >>> ><br>
>> >>> > 1> testCCompiler.c<br>
>> >>> ><br>
>> >>> > 1>LINK : fatal error LNK1104: cannot open file 'MSVCRTD.lib'<br>
>> >>> ><br>
>> >>> > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped<br>
>> >>> ><br>
>> >>> ><br>
>> >>> > Please help me. :(<br>
>> >>> ><br>
>> >>> ><br>
>> >>> > --<br>
>> >>> ><br>
>> >>> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> >>> ><br>
>> >>> > Visit other Kitware open-source projects at<br>
>> >>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> >>> ><br>
>> >>> > Please keep messages on-topic and check the CMake FAQ at:<br>
>> >>> > <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
>> >>> ><br>
>> >>> > Follow this link to subscribe/unsubscribe:<br>
>> >>> > <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
>><br>
>><br>
>><br>
>> Please try CMake 2.8.7, or last week's 2.8.8-rc1... There have been<br>
>> several Visual Studio 10 related issues fixed since 2.8.4.<br>
>><br>
>> Can you build a plain "hello, world" C++ command line executable with<br>
>> Visual Studio by itself, without CMake?<br>
>><br>
>> This error looks like exactly what happens when people have VS 10<br>
>> Express installed, but do not have a corresponding Windows Platform<br>
>> SDK installed...<br>
>><br>
>><br>
>> HTH,<br>
>> David<br>
><br>
><br>
</div></div></blockquote></div><br></div></div></div></div>
</div><br></div>