cmake-js: vs-build-tools-2017 (vs version 15) is not recognized
In a continuation of #46 - it appears that build tools 2017 is not found
ERR! OMG Error: There is no Visual C++ compiler installed. Install Visual C++ Build Toolset or Visual Studio.
From what I can tell, cmake-js
looks in in vsDetect in the registry key
"HKLM\\SOFTWARE\\Classes\\Installer\\Dependencies\\Microsoft.VS.VisualCppBuildTools_x86_enu,v" + mainVer
Visual Studio 2017 build tools does not have a registry key there, although there are others, that particular one does not exist.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (6 by maintainers)
Commits related to this issue
- Attempt to resolve https://github.com/cmake-js/cmake-js/issues/78 — committed to pergy/cmake-js by unbornchikken 7 years ago
Doesn’t seem to be fixed for me. I have VS2017 installed, and I also have the 2015 build tools installed, cmake-js detects neither. node-gyp works fine though.
cmake-js 3.6.2 node v6.11.4 npm 3.10.10 Visual Studio Community 2017 Version 15.5.7 Visual Studio Community 2015 Version 14.0.254.20.01 Update 3 Windows 10 64-bit Pro
Still getting OMG There is no Visual C++ compiler installed
Fixed as of 3.5.0.
Try with: