Discussion:
[CMake] Visual Studio 10 compiler identification unknown
i***@nesono.com
2013-08-05 14:32:35 UTC
Permalink
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
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
Sybren A. Stüvel
2013-08-05 14:45:04 UTC
Permalink
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
Post by i***@nesono.com
Hi All,
I hope this is not an old and boring question to you, but I did not find
I try to create a Visual Studio 10 solution on Windows 8 with having
Visual Studio being installed alongside Visual Studio 11. Somehow, cmake
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
...
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
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
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>
http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake>
--
Sybren A. StÃŒvel

http://stuvel.eu/
Jochen Issing
2013-08-05 15:37:45 UTC
Permalink
Hi, I ran I to this problem before but should have fixed that previously.

I have checked for double environment variables, but have found none
(I filtered the output of set and saved it sorted as well as sorted and unique but output did not differ)

-- jochen
Post by Sybren A. Stüvel
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
Post by i***@nesono.com
Hi All,
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
...
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
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
http://www.cmake.org/mailman/listinfo/cmake
--
Sybren A. StÃŒvel
http://stuvel.eu/
Bill Hoffman
2013-08-05 15:17:52 UTC
Permalink
Post by i***@nesono.com
Hi All,
I hope this is not an old and boring question to you, but I did not
I try to create a Visual Studio 10 solution on Windows 8 with having
Visual Studio being installed alongside Visual Studio 11. Somehow, cmake
-- 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.


-Bill
Jochen Issing
2013-08-05 15:42:37 UTC
Permalink
Post by i***@nesono.com
Hi All,
I hope this is not an old and boring question to you, but I did not
I try to create a Visual Studio 10 solution on Windows 8 with having
Visual Studio being installed alongside Visual Studio 11. Somehow, cmake
-- 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
-Bill
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
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
http://www.cmake.org/mailman/listinfo/cmake
Jochen Issing
2013-08-05 15:43:56 UTC
Permalink
Post by Jochen Issing
Post by i***@nesono.com
Hi All,
I hope this is not an old and boring question to you, but I did not
I try to create a Visual Studio 10 solution on Windows 8 with having
Visual Studio being installed alongside Visual Studio 11. Somehow, cmake
-- 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.
C compiler identification failed...
1
for both CC and CXX
and log contains:
The system is: Windows - 6.2 - AMD64
Post by Jochen Issing
-Bill
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
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
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
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
http://www.cmake.org/mailman/listinfo/cmake
Jorge Perez
2013-08-06 10:19:46 UTC
Permalink
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.*

*
**
Post by Jochen Issing
Post by Bill Hoffman
Post by i***@nesono.com
Hi All,
I hope this is not an old and boring question to you, but I did not
I try to create a Visual Studio 10 solution on Windows 8 with having
Visual Studio being installed alongside Visual Studio 11. Somehow,
cmake
Post by Jochen Issing
Post by Bill Hoffman
Post by i***@nesono.com
-- 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.
Post by Jochen Issing
C compiler identification failed...
1
for both CC and CXX
The system is: Windows - 6.2 - AMD64
Post by Jochen Issing
Post by Bill Hoffman
-Bill
--
Powered by www.kitware.com
http://www.cmake.org/Wiki/CMake_FAQ
Post by Jochen Issing
Post by Bill Hoffman
Kitware offers various services to support the CMake community. For
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
Post by Jochen Issing
Post by Bill Hoffman
http://www.cmake.org/mailman/listinfo/cmake
--
Powered by www.kitware.com
http://www.cmake.org/Wiki/CMake_FAQ
Post by Jochen Issing
Kitware offers various services to support the CMake community. For more
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
Post by Jochen Issing
http://www.cmake.org/mailman/listinfo/cmake
--
Powered by www.kitware.com
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
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
http://www.cmake.org/mailman/listinfo/cmake
Jochen Issing
2013-08-06 11:09:55 UTC
Permalink
Post by Jorge Perez
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...

-- jochen
Post by Jorge Perez
/
/
//
Post by Jochen Issing
Post by Bill Hoffman
Post by i***@nesono.com
Hi All,
I hope this is not an old and boring question to you, but I
did not
Post by Jochen Issing
Post by Bill Hoffman
Post by i***@nesono.com
I try to create a Visual Studio 10 solution on Windows 8 with
having
Post by Jochen Issing
Post by Bill Hoffman
Post by i***@nesono.com
Visual Studio being installed alongside Visual Studio 11.
Somehow, cmake
Post by Jochen Issing
Post by Bill Hoffman
Post by i***@nesono.com
-- 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.
Post by Jochen Issing
C compiler identification failed...
1
for both CC and CXX
The system is: Windows - 6.2 - AMD64
Post by Jochen Issing
Post by Bill Hoffman
-Bill
--
Powered by www.kitware.com <http://www.kitware.com>
http://www.cmake.org/Wiki/CMake_FAQ
Post by Jochen Issing
Post by Bill Hoffman
Kitware offers various services to support the CMake community.
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
Post by Jochen Issing
Post by Bill Hoffman
http://www.cmake.org/mailman/listinfo/cmake
--
Powered by www.kitware.com <http://www.kitware.com>
http://www.cmake.org/Wiki/CMake_FAQ
Post by Jochen Issing
Kitware offers various services to support the CMake community.
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
Post by Jochen Issing
http://www.cmake.org/mailman/listinfo/cmake
--
Powered by www.kitware.com <http://www.kitware.com>
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community.
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
http://www.cmake.org/mailman/listinfo/cmake
Jorge Perez
2013-08-06 11:40:09 UTC
Permalink
I had problem with both, without SP1 and with SP1 installed. I'm able to
configure with cmake but not with cmake-gui.
SP1 for Visual Studio 2010 installed?
I got problems on my machine with that setup, too, if no SP1 for 2010
installed ;)
Greetings
Christoph
----- Ursprüngliche Mail -----
Post by Jorge Perez
I have the same problem with Win64 + Visual Studio 2010 professional.
It works from command line running cmake from Visual Studio Command
Prompt
Post by Jorge Perez
but I'm not able to configure using the gui even if I start it from the
VS
Post by Jorge Perez
command prompt.
That's how it started for me - now it is always failing when using
"Visual
Post by Jorge Perez
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...
-- jochen
Post by Jochen Issing
Post by i***@nesono.com
Hi All,
I hope this is not an old and boring question to you, but I did not
I try to create a Visual Studio 10 solution on Windows 8 with having
Visual Studio being installed alongside Visual Studio 11. Somehow,
cmake
Post by Jorge Perez
Post by Jochen Issing
Post by i***@nesono.com
-- 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
Post by Jorge Perez
Post by Jochen Issing
the CMakeFiles directory.
C compiler identification failed...
1
for both CC and CXX
The system is: Windows - 6.2 - AMD64
Post by Jochen Issing
-Bill
--
Powered by www.kitware.com
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For
more
Post by Jorge Perez
Post by Jochen Issing
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
http://www.cmake.org/mailman/listinfo/cmake
--
Powered by www.kitware.com
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For
more
Post by Jorge Perez
Post by Jochen Issing
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
http://www.cmake.org/mailman/listinfo/cmake
--
Powered by www.kitware.com
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
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
http://www.cmake.org/mailman/listinfo/cmake
--
Powered by www.kitware.com
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
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
http://www.cmake.org/mailman/listinfo/cmake
--
----------------------------- Dr.-Ing. Christoph Cullmann ---------
Science Park 1 Tel: +49-681-38360-22
66123 Saarbrücken Fax: +49-681-38360-20
GERMANY WWW: http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234
Bill Hoffman
2013-08-06 13:45:19 UTC
Permalink
Post by Jorge Perez
I had problem with both, without SP1 and with SP1 installed. I'm able to
configure with cmake but not with cmake-gui.
It must be an environment thing. You can use cmake and cmake-gui from
the exact same shell and one works and the other does not?

-Bill
Jorge Perez
2013-08-06 14:03:18 UTC
Permalink
Yes, cmake work as expected but cmake-gui does not, it does not identify
correctly the C compiler. Both started from de VS command prompt.

BTW, I didn't expect run cmake-gui from the command prompt.
Post by Jorge Perez
I had problem with both, without SP1 and with SP1 installed. I'm able to
configure with cmake but not with cmake-gui.
It must be an environment thing. You can use cmake and cmake-gui from the
exact same shell and one works and the other does not?
-Bill
Bill Hoffman
2013-08-06 14:07:59 UTC
Permalink
Post by Jorge Perez
Yes, cmake work as expected but cmake-gui does not, it does not identify
correctly the C compiler. Both started from de VS command prompt.
BTW, I didn't expect run cmake-gui from the command prompt.
What did you mean you did not expect run cmake-gui from the command prompt?

Can you run with --debug-trycompile on a minimal test case:

project(foo) # only one line needed in the cmake file.

Then zip up the binary tree and email it to me off the list?


-Bill
Jorge Perez
2013-08-06 14:46:22 UTC
Permalink
Sorry, I meant that since this situation (windows 8 + visual studio 2010
profesional + SP1) I had always started cmake-gui from the access at
desktop.

I suppose it is a problem in my environment but don't know what to fix.

The test you suggest did not fail!

Then I tried to configure VTK and cmake-gui from VS command prompt work as
expected.

May be it is using some information stored in registry?

Next test is try again cmake-gui from desktop, I hadn't try it until you
suggested the test.
Post by Bill Hoffman
Post by Jorge Perez
Yes, cmake work as expected but cmake-gui does not, it does not identify
correctly the C compiler. Both started from de VS command prompt.
BTW, I didn't expect run cmake-gui from the command prompt.
What did you mean you did not expect run cmake-gui from the command prompt?
project(foo) # only one line needed in the cmake file.
Then zip up the binary tree and email it to me off the list?
-Bill
Jorge Perez
2013-08-06 15:31:44 UTC
Permalink
Configuration of VTK with cmake-gui was ok. Don't know how it was fixed.

Does it help if I send the output of the minimal test case?
Post by Jorge Perez
Sorry, I meant that since this situation (windows 8 + visual studio 2010
profesional + SP1) I had always started cmake-gui from the access at
desktop.
I suppose it is a problem in my environment but don't know what to fix.
The test you suggest did not fail!
Then I tried to configure VTK and cmake-gui from VS command prompt work as
expected.
May be it is using some information stored in registry?
Next test is try again cmake-gui from desktop, I hadn't try it until you
suggested the test.
Post by Bill Hoffman
Post by Jorge Perez
Yes, cmake work as expected but cmake-gui does not, it does not identify
correctly the C compiler. Both started from de VS command prompt.
BTW, I didn't expect run cmake-gui from the command prompt.
What did you mean you did not expect run cmake-gui from the command prompt?
project(foo) # only one line needed in the cmake file.
Then zip up the binary tree and email it to me off the list?
-Bill
Bill Hoffman
2013-08-06 16:07:48 UTC
Permalink
Post by Jorge Perez
Configuration of VTK with cmake-gui was ok. Don't know how it was fixed.
Does it help if I send the output of the minimal test case?
Sending the output if a case where it is failing will be helpful.


-Bill
John Drescher
2013-08-06 16:44:47 UTC
Permalink
Post by Jorge Perez
Configuration of VTK with cmake-gui was ok. Don't know how it was fixed.
Does it help if I send the output of the minimal test case?
I suspect deleting the cache in cmake-gui then running cmake-gui from
the windows shortcut will break it again.

BTW, I usually run cmake-gui from a visual studio command prompt. The
reason for this is I use more than visual studio compiler and also use
32 and 64 bit in different build trees so I have command prompts with
different environment variables set that help cmake to find the
correct libraries for the build tree that I am currently using.


John
Christoph Cullmann
2013-08-06 11:37:09 UTC
Permalink
SP1 for Visual Studio 2010 installed?

I got problems on my machine with that setup, too, if no SP1 for 2010 installed ;)

Greetings
Christoph

----- Ursprüngliche Mail -----
Post by Jorge Perez
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...
-- jochen
Post by Jochen Issing
Post by i***@nesono.com
Hi All,
I hope this is not an old and boring question to you, but I did not
I try to create a Visual Studio 10 solution on Windows 8 with having
Visual Studio being installed alongside Visual Studio 11. Somehow, cmake
-- 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.
C compiler identification failed...
1
for both CC and CXX
The system is: Windows - 6.2 - AMD64
Post by Jochen Issing
-Bill
--
Powered by www.kitware.com
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
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
http://www.cmake.org/mailman/listinfo/cmake
--
Powered by www.kitware.com
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
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
http://www.cmake.org/mailman/listinfo/cmake
--
Powered by www.kitware.com
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
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
http://www.cmake.org/mailman/listinfo/cmake
--
Powered by www.kitware.com
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
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
http://www.cmake.org/mailman/listinfo/cmake
--
----------------------------- Dr.-Ing. Christoph Cullmann ---------
AbsInt Angewandte Informatik GmbH Email: ***@AbsInt.com
Science Park 1 Tel: +49-681-38360-22
66123 Saarbrücken Fax: +49-681-38360-20
GERMANY WWW: http://www.AbsInt.com
--------------------------------------------------------------------
Geschäftsführung: Dr.-Ing. Christian Ferdinand
Eingetragen im Handelsregister des Amtsgerichts Saarbrücken, HRB 11234
Jochen Issing
2013-08-14 09:27:34 UTC
Permalink
Post by Jochen Issing
Post by Jorge Perez
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
Post by Jochen Issing
Post by Jorge Perez
/
/
//
Post by Jochen Issing
Post by Bill Hoffman
Post by i***@nesono.com
Hi All,
I hope this is not an old and boring question to you, but I
did not
Post by Jochen Issing
Post by Bill Hoffman
Post by i***@nesono.com
I try to create a Visual Studio 10 solution on Windows 8 with
having
Post by Jochen Issing
Post by Bill Hoffman
Post by i***@nesono.com
Visual Studio being installed alongside Visual Studio 11.
Somehow, cmake
Post by Jochen Issing
Post by Bill Hoffman
Post by i***@nesono.com
-- 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.
Post by Jochen Issing
C compiler identification failed...
1
for both CC and CXX
The system is: Windows - 6.2 - AMD64
Post by Jochen Issing
Post by Bill Hoffman
-Bill
--
Powered by www.kitware.com <http://www.kitware.com>
http://www.cmake.org/Wiki/CMake_FAQ
Post by Jochen Issing
Post by Bill Hoffman
Kitware offers various services to support the CMake
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
Post by Jochen Issing
Post by Bill Hoffman
http://www.cmake.org/mailman/listinfo/cmake
--
Powered by www.kitware.com <http://www.kitware.com>
http://www.cmake.org/Wiki/CMake_FAQ
Post by Jochen Issing
Kitware offers various services to support the CMake community.
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
Post by Jochen Issing
http://www.cmake.org/mailman/listinfo/cmake
--
Powered by www.kitware.com <http://www.kitware.com>
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community.
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
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
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
http://www.cmake.org/mailman/listinfo/cmake
Loading...