I encountered a situation like described here:
https://public.kitware.com/Bug/view.php?id=15057

The bug seems to be closed as "not reproducible"; here is one way to cause
it:

 1.    Have %PATH% environment variable contain C:/cygdrive/bin , which
also contains a copy of cmake 2.x (for me it was 2.8.12)

 2.    Invoke cmake-gui.exe from cmake version 3.x

 3.    try to generate VS2013 solution, it fails saying unknown compiler.

The workaround is to purge your PATH environment variable so that no copies
of cmake.exe are there.
​          ​
It still feels like a bug
​ that could be fixed​
; why should cmake 3.x allow old versions to interfere with it at runtime?
​At a minimum, some kind of warning would make the issue more obvious and
save people some time. ​




_______________
Peter  Karasev
[email protected]
-- 

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://public.kitware.com/mailman/listinfo/cmake

Reply via email to