Hi Jochen, 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.
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? Best, Sybren On 5 August 2013 16:32, <i...@nesono.com> wrote: > Hi All, > > 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: > > 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: > > -- The C compiler identification is unknown > -- The CXX compiler identification is unknown > ... > > Any ideas how to fix that or gain more debugging information? I invoked: > >> cmake -G 'Visual Studio 10' --debug-trycompile --debug-output ../ >> > and get the error in cygwin/or visual studio developer cmd > > Hope anyone knows the answer... > > -- jochen > -- > > Powered by www.kitware.com > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/**CMake_FAQ<http://www.cmake.org/Wiki/CMake_FAQ> > > Kitware offers various services to support the CMake community. For more > information on each offering, please visit: > > CMake Support: > http://cmake.org/cmake/help/**support.html<http://cmake.org/cmake/help/support.html> > CMake Consulting: > http://cmake.org/cmake/help/**consulting.html<http://cmake.org/cmake/help/consulting.html> > CMake Training Courses: > http://cmake.org/cmake/help/**training.html<http://cmake.org/cmake/help/training.html> > > Visit other Kitware open-source projects at http://www.kitware.com/** > opensource/opensource.html<http://www.kitware.com/opensource/opensource.html> > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake> > -- Sybren A. Stüvel http://stuvel.eu/
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake