[CMake] Visual Studio 10 compiler identification unknown

Jochen Issing iss at nesono.com
Wed Aug 14 05:27:34 EDT 2013


On 2013-08-06 13:09, Jochen Issing wrote:
>
> On 2013-08-06 12:19, Jorge Perez wrote:
>> I have the same problem with Win64 + Visual Studio 2010 professional.
>>
>> It works from command line running cmake from /Visual Studio Command 
>> Prompt /but I'm not able to configure using the gui even if I start 
>> it from the VS command prompt./
>> /
> /That's how it started for me - now it is always failing when using 
> "Visual Studio 10", but now I can not even find my stdlib headers 
> (e.g. stdio.h) within the Visual Studio 10 installation/ path.
>
> I'll keep you updated if I find anything new...

So, in the end it was a broken VS2010 installation caused by registry 
errors maybe caused by installation of a VS preview.

I fixed it by copying the files from a working installation onto my 
machine. Dirty, but works.

Thanks for your patience,

-- jochen
>
>> /
>> /
>> //
>>
>>
>> 2013/8/5 Jochen Issing <iss at nesono.com <mailto:iss at nesono.com>>
>>
>>     On 05.08.2013, at 17:42, Jochen Issing <iss at nesono.com
>>     <mailto:iss at nesono.com>> wrote:
>>
>>     > On 05.08.2013, at 17:17, Bill Hoffman <bill.hoffman at kitware.com
>>     <mailto:bill.hoffman at kitware.com>> wrote:
>>     >
>>     >> On 8/5/2013 10:32 AM, iss at nesono.com <mailto:iss at 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
>>     >>> ...
>>     >> What is in the CMakeError.log and CMakeOutput.log files?  They
>>     should be in the CMakeFiles directory.
>>     >
>>     > Sorry for not being able to copy paste here, but I have this:
>>     >
>>     > C compiler identification failed...
>>     > The output was:
>>     > 1
>>     > for both CC and CXX
>>     >
>>     and log contains:
>>     The system is: Windows - 6.2 - AMD64
>>
>>     >
>>     >>
>>     >>
>>     >> -Bill
>>     >> --
>>     >>
>>     >> Powered by www.kitware.com <http://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
>>     > --
>>     >
>>     > Powered by www.kitware.com <http://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
>>     --
>>
>>     Powered by www.kitware.com <http://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
>>
>>
>
>
>
> --
>
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130814/514deae5/attachment-0001.htm>


More information about the CMake mailing list