Dear Bill<br><br>After your email I reinstalled WinSDK 7.1 and Microsoft Visual Studio Express for C++ 2010.<br><br>In Cmake I indicated the visual studio 2010 compiler but now I get these messages: <br><br>What do you suggest could be the problem?<br>
<br>The C compiler identification is MSVC 16.0.30319.1
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">The CXX compiler identification is MSVC 16.0.30319.1</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Check for working C compiler using: Visual Studio 10</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Check for working C compiler using: Visual Studio 10 -- broken</p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:61 (message):</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  The C compiler &quot;C:/Program Files (x86)/Microsoft Visual Studio</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  10.0/VC/bin/cl.exe&quot; is not able to compile a simple test program.</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  It fails with the following output:</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">   Change Dir: C:/CLucene/CMakeFiles/CMakeTmp</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  Run Build Command:C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  cmTryCompileExec3404150544.vcxproj /p:Configuration=Debug</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  /p:VisualStudioVersion=10.0</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  Microsoft (R) Build Engine versie 4.0.30319.17929</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  [Microsoft .NET Framework versie 4.0.30319.17929]</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  Copyright (C) Microsoft Corporation.  Alle rechten voorbehouden.</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  Opbouwen gestart 6/01/2013 19:57:44.</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  Project C:\CLucene\CMakeFiles\CMakeTmp\cmTryCompileExec3404150544.vcxproj</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  op knooppunt 1 (standaarddoelen).</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  PrepareForBuild:</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">    De map cmTryCompileExec3404150544.dir\Debug\ wordt gemaakt.</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">    De map C:\CLucene\CMakeFiles\CMakeTmp\Debug\ wordt gemaakt.</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  InitializeBuildStatus:</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">    cmTryCompileExec3404150544.dir\Debug\cmTryCompileExec3404150544.unsuccessfulbuild wordt gemaakt omdat AlwaysCreate is opgegeven.</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  ClCompile:</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D &quot;CMAKE_INTDIR=\&quot;Debug\&quot;&quot; /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo&quot;cmTryCompileExec3404150544.dir\Debug\\&quot; /Fd&quot;C:/CLucene/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3404150544.pdb&quot; /Gd /TC /analyze- /errorReport:queue testCCompiler.c  /Zm1000 </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">    Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">    Copyright (C) Microsoft Corporation.  All rights reserved.</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">    </span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">    cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D &quot;CMAKE_INTDIR=\&quot;Debug\&quot;&quot; /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo&quot;cmTryCompileExec3404150544.dir\Debug\\&quot; /Fd&quot;C:/CLucene/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3404150544.pdb&quot; /Gd /TC /analyze- /errorReport:queue testCCompiler.c  /Zm1000 </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">    testCCompiler.c</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">    </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  ManifestResourceCompile:</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">    C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\rc.exe /nologo /fo&quot;cmTryCompileExec3404150544.dir\Debug\cmTryCompileExec3404150544.exe.embed.manifest.res&quot; cmTryCompileExec3404150544.dir\Debug\cmTryCompileExec3404150544_manifest.rc </span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  Link:</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">    C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:&quot;C:\CLucene\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec3404150544.exe&quot; /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /ManifestFile:&quot;cmTryCompileExec3404150544.dir\Debug\cmTryCompileExec3404150544.exe.intermediate.manifest&quot; /MANIFESTUAC:&quot;level=&#39;asInvoker&#39; uiAccess=&#39;false&#39;&quot; /DEBUG /PDB:&quot;C:/CLucene/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3404150544.pdb&quot; /SUBSYSTEM:CONSOLE /STACK:&quot;10000000&quot; /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:&quot;C:/CLucene/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3404150544.lib&quot; /MACHINE:X86 cmTryCompileExec3404150544.dir\Debug\cmTryCompileExec3404150544.exe.embed.manifest.res</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">    cmTryCompileExec3404150544.dir\Debug\testCCompiler.obj  /machine:X86 /debug </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  LINK : fatal error LNK1123: failure during conversion to COFF: file invalid</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  or corrupt</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  [C:\CLucene\CMakeFiles\CMakeTmp\cmTryCompileExec3404150544.vcxproj]</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  Project C:\CLucene\CMakeFiles\CMakeTmp\cmTryCompileExec3404150544.vcxproj</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  is gebouwd (standaarddoelen).  -- MISLUKT.</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  Opbouwen MISLUKT.</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  C:\CLucene\CMakeFiles\CMakeTmp\cmTryCompileExec3404150544.vcxproj</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  (standaarddoel) (1) -&gt;</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  (Link doel) -&gt; </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">    LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt [C:\CLucene\CMakeFiles\CMakeTmp\cmTryCompileExec3404150544.vcxproj]</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">      0 waarschuwing(en)</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">      1 fout(en)</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  Verstreken tijd 00:00:01.88</span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  </span></p>

<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  CMake will not be able to correctly generate this project.</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">Call Stack (most recent call first):</span></p>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><span style="color:#ff0000">  CMakeLists.txt:1 (PROJECT)</span></p>


<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px">Configuring incomplete, errors occurred!</p><br><br><div class="gmail_quote">2013/1/4 Bill Hoffman [via CMake] <span dir="ltr">&lt;<a href="/user/SendEmail.jtp?type=node&node=7582786&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>&gt;</span><br>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">

        On 1/4/2013 5:47 PM, Michael Jackson wrote:
<br></div><div class="im">&gt; Don&#39;t use a &quot;Regular Command Prompt&quot;. Use instead one of the &quot;Visual
<br>&gt; Studio 9 Command Prompt&quot; that are provided with a normal Visual
<br>&gt; Studio installation. Those command prompts have all the necessary
<br>&gt; paths setup for Visual Studio. This also assumes you have Visual
<br>&gt; Studio 9 installed and not Visual Studio 8 or 10 and are just getting
<br>&gt; confused about which one to pick. --
<br><br><br></div><div class="im">You should not have to start from a VS command prompt if you are using 
<br>the IDE to build. You only need to do that if you are using command line 
<br>tools.  Do you have VS 9 installed?  Sounds like cmake can not find 
<br>devenv.  How did you install VS, and what version is it?
<br><br>-- 
<br>Bill Hoffman
<br>Kitware, Inc.
<br>28 Corporate Drive
<br>Clifton Park, NY 12065
<br></div><a href="http://user/SendEmail.jtp?type=node&amp;node=7582777&amp;i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><div class="im"><a href="http://www.kitware.com" rel="nofollow" link="external" target="_blank">http://www.kitware.com</a><br>&lt;a href=&quot;tel:518%20881-4905&quot; value=&quot;+15188814905&quot; target=&quot;_blank&quot;&gt;518 881-4905</a> (Direct)
<br>&lt;a href=&quot;tel:518%20371-3971%20x105&quot; value=&quot;+15183713971&quot; target=&quot;_blank&quot;&gt;518 371-3971 x105</a>
<br>Fax &lt;a href=&quot;tel:%28518%29%20371-4573&quot; value=&quot;+15183714573&quot; target=&quot;_blank&quot;&gt;(518) 371-4573</a>
<br></div><div class="im">--
<br><br>Powered by <a href="http://www.kitware.com" target="_blank" rel="nofollow" link="external">www.kitware.com</a>
<br><br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="nofollow" link="external" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="nofollow" link="external" 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" rel="nofollow" link="external" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>

        
        
        
        <br>
        <br>
        </div><hr color="#cccccc" noshade size="1">
        <div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div class="im">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://cmake.3232098.n2.nabble.com/Cmake-issue-compiling-CLucene-tp7582775p7582777.html" target="_blank" rel="nofollow" link="external">http://cmake.3232098.n2.nabble.com/Cmake-issue-compiling-CLucene-tp7582775p7582777.html</a>
        </div><div class="HOEnZb"><div class="h5">
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from Cmake issue compiling CLucene, <a href="" target="_blank" rel="nofollow" link="external">click here</a>.<br>

                <a href="http://cmake.3232098.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&amp;id=instant_html%21nabble%3Aemail.naml&amp;base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_blank" link="external">NAML</a>
        </div></div></div></blockquote></div><br>


        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://cmake.3232098.n2.nabble.com/Cmake-issue-compiling-CLucene-tp7582775p7582786.html">Re: Cmake issue compiling CLucene</a><br/>
Sent from the <a href="http://cmake.3232098.n2.nabble.com/">CMake mailing list archive</a> at Nabble.com.<br/>