<div dir="ltr">I encountered a situation like described here:  <a href="https://public.kitware.com/Bug/view.php?id=15057">https://public.kitware.com/Bug/view.php?id=15057</a><div><br></div><div>The bug seems to be closed as "not reproducible"; here is one way to cause it: </div><div><br></div><div> 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)<br><div><br></div><div> 2.    Invoke cmake-gui.exe from cmake version 3.x </div><div><br></div><div> 3.    try to generate VS2013 solution, it fails saying unknown compiler. </div><div><br></div><div>The workaround is to purge your PATH environment variable so that no copies of cmake.exe are there. </div><div><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​          ​</div>It still feels like a bug<div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​ that could be fixed​</div>; why should cmake 3.x allow old versions to interfere with it at runtime?  <div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline">​At a minimum, some kind of warning would make the issue more obvious and save people some time. ​</div><br><br><br><br>_______________<br>Peter  Karasev<br><a href="mailto:karasevpa@gmail.com">karasevpa@gmail.com</a></div></div></div>