Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-14 Thread Jochen Issing

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 i...@nesono.com mailto:i...@nesono.com

On 05.08.2013, at 17:42, Jochen Issing i...@nesono.com
mailto:i...@nesono.com wrote:

 On 05.08.2013, at 17:17, Bill Hoffman bill.hoff...@kitware.com
mailto:bill.hoff...@kitware.com wrote:

 On 8/5/2013 10:32 AM, i...@nesono.com mailto: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
 ...
 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


--

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 

Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-06 Thread 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.*

*
**


2013/8/5 Jochen Issing i...@nesono.com

 On 05.08.2013, at 17:42, Jochen Issing i...@nesono.com wrote:

  On 05.08.2013, at 17:17, Bill Hoffman bill.hoff...@kitware.com wrote:
 
  On 8/5/2013 10:32 AM, 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
  ...
  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
 
  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
 --

 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

--

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

Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-06 Thread Jochen Issing


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...

-- jochen


/
/
//


2013/8/5 Jochen Issing i...@nesono.com mailto:i...@nesono.com

On 05.08.2013, at 17:42, Jochen Issing i...@nesono.com
mailto:i...@nesono.com wrote:

 On 05.08.2013, at 17:17, Bill Hoffman bill.hoff...@kitware.com
mailto:bill.hoff...@kitware.com wrote:

 On 8/5/2013 10:32 AM, i...@nesono.com mailto: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
 ...
 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

Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-06 Thread 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.


2013/8/6 Christoph Cullmann cullm...@absint.com

 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 -
 
  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...
 
  -- jochen
 
 
 
 
 
 
 
  2013/8/5 Jochen Issing  i...@nesono.com 
 
 
 
  On 05.08.2013, at 17:42, Jochen Issing  i...@nesono.com  wrote:
 
   On 05.08.2013, at 17:17, Bill Hoffman  bill.hoff...@kitware.com 
 wrote:
  
   On 8/5/2013 10:32 AM, 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
   ...
   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
  
   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
  --
 
  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
 
 
 
  --
 
  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

 --
 - Dr.-Ing. Christoph Cullmann -
 AbsInt Angewandte Informatik GmbH  Email: cullm...@absint.com
 Science Park 1 Tel:   +49-681-38360-22
 66123 Saarbrücken  Fax:   +49-681-38360-20
 GERMANYWWW:   http://www.AbsInt.com
 
 

Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-06 Thread Bill Hoffman

On 8/6/2013 7:40 AM, Jorge Perez wrote:

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


--

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


Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-06 Thread 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.


2013/8/6 Bill Hoffman bill.hoff...@kitware.com

 On 8/6/2013 7:40 AM, Jorge Perez wrote:

 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



--

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

Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-06 Thread Bill Hoffman

On 8/6/2013 10:03 AM, Jorge Perez wrote:

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

--

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


Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-06 Thread 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.





2013/8/6 Bill Hoffman bill.hoff...@kitware.com

 On 8/6/2013 10:03 AM, Jorge Perez wrote:

 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


--

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

Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-06 Thread 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?



2013/8/6 Jorge Perez josp.jo...@gmail.com

 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.





 2013/8/6 Bill Hoffman bill.hoff...@kitware.com

 On 8/6/2013 10:03 AM, Jorge Perez wrote:

 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



--

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

Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-06 Thread Bill Hoffman

On 8/6/2013 11:31 AM, Jorge Perez wrote:

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

--

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


Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-06 Thread John Drescher
 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
--

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


[CMake] Visual Studio 10 compiler identification unknown

2013-08-05 Thread iss

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

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


Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-05 Thread 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



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_FAQhttp://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.htmlhttp://cmake.org/cmake/help/support.html
 CMake Consulting: 
 http://cmake.org/cmake/help/**consulting.htmlhttp://cmake.org/cmake/help/consulting.html
 CMake Training Courses: 
 http://cmake.org/cmake/help/**training.htmlhttp://cmake.org/cmake/help/training.html

 Visit other Kitware open-source projects at http://www.kitware.com/**
 opensource/opensource.htmlhttp://www.kitware.com/opensource/opensource.html

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/**listinfo/cmakehttp://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

Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-05 Thread Bill Hoffman

On 8/5/2013 10:32 AM, 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
...
What is in the CMakeError.log and CMakeOutput.log files?  They should be 
in the CMakeFiles directory.



-Bill
--

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


Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-05 Thread Jochen Issing
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

On 05.08.2013, at 16:45, Sybren A. Stüvel syb...@stuvel.eu wrote:

 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
 
 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
 
 
 
 -- 
 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

Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-05 Thread Jochen Issing
On 05.08.2013, at 17:17, Bill Hoffman bill.hoff...@kitware.com wrote:

 On 8/5/2013 10:32 AM, 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
 ...
 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
 
 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


Re: [CMake] Visual Studio 10 compiler identification unknown

2013-08-05 Thread Jochen Issing
On 05.08.2013, at 17:42, Jochen Issing i...@nesono.com wrote:

 On 05.08.2013, at 17:17, Bill Hoffman bill.hoff...@kitware.com wrote:
 
 On 8/5/2013 10:32 AM, 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
 ...
 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
 
 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
--

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