<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi, I ran I to this problem before but should have fixed that previously.</div><div><br></div><div>I have checked for double environment variables, but have found none</div><div>(I filtered the output of set and saved it sorted as well as sorted and unique but output did not differ)<br><br>-- jochen</div><div><br>On 05.08.2013, at 16:45, Sybren A. Stüvel &lt;<a href="mailto:sybren@stuvel.eu">sybren@stuvel.eu</a>&gt; wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div><div>Hi Jochen,<br><br>I had the same issue when I ran CMake (the regular one for Windows, so not a Cygwin-build) from a Cygwin prompt. It was caused by the VS compiler not being able to handle two environment variables that only differ in case. In my case there were a "tmp" and a "TMP" variable, and it caused this error.<br>
<br></div>For me the solution was to clean up all environment variables, then kill all MSBuild.exe processes. Without this last step, the old environment will still be used. In your case maybe killing MSBuild.exe is enough?<br>
<br></div>Best,<br>Sybren<br><div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 5 August 2013 16:32,  <span dir="ltr">&lt;<a href="mailto:iss@nesono.com" target="_blank">iss@nesono.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<br>
<br>
I hope this is not an old and boring question to you, but I did not find any help in the web to the following problem:<br>
<br>
I try to create a Visual Studio 10 solution on Windows 8 with having Visual Studio being installed alongside Visual Studio 11. Somehow, cmake does not find the right compilers:<br>
<br>
-- The C compiler identification is unknown<br>
-- The CXX compiler identification is unknown<br>
...<br>
<br>
Any ideas how to fix that or gain more debugging information? I invoked:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
cmake -G 'Visual Studio 10' --debug-trycompile --debug-output ../<br>
</blockquote>
and get the error in cygwin/or visual studio developer cmd<br>
<br>
Hope anyone knows the answer...<br>
<br>
-- jochen<br>
--<br>
<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/<u></u>CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" target="_blank">http://cmake.org/cmake/help/<u></u>support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" target="_blank">http://cmake.org/cmake/help/<u></u>consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" target="_blank">http://cmake.org/cmake/help/<u></u>training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/<u></u>opensource/opensource.html</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/<u></u>listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Sybren A. Stüvel<br><br><a href="http://stuvel.eu/" target="_blank">http://stuvel.eu/</a><br><br>
</div>
</div></blockquote></body></html>