CMAKE fails to build


I have Visual Studio 2015 and 2017 installed on my machine. When i go to run “cmake_vs2015.bat” i get the following error

“No CMAKE_CXX_COMPILER could be found”

I know that the visual studio’s are installed properly, as they both compile out other c++ applications an engines.

Ideas or thoughts…


Create bat file (fix pathes):

set "PATH=c:\Program Files (x86)\Git\bin;c:\Programs\Cmake\bin;c:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\;c:\Windows\System32"


that did not solve the problem


I had a similar problem last year when I installed vs2015 for the 1st time. It turns out the default express install for 2015 didn’t include tools for me and I had to do a custom install to correct it.


It would appear that the base install for VS 2017 doesn’t include some of the C++ tools. Installing and will report back.


I just got the latest commit to cmake and build with VS2015 earlier, it must have something to do with your setup.


Try cmake_clean.bat first.


I remember the base installation for VS2015 does not include C++ development tool by default. I think the default is web development now.