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…
1vanK
March 13, 2017, 4:45pm
#2
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"
Urho3D/cmake_vs2015.bat Build -DURHO3D_OPENGL=ON -DURHO3D_SAMPLES=OFF -DURHO3D_LUA=OFF -DURHO3D_STATIC_RUNTIME=ON -DURHO3D_TOOLS=0
that did not solve the problem
Lumak
March 13, 2017, 5:51pm
#4
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.