nwjs / nw-gyp

native addon build tool for node-webkit
MIT License
195 stars 50 forks source link

Failed to locate: "CL.exe" #109

Open koobazaur opened 7 years ago

koobazaur commented 7 years ago

Hey folks, I am trying to build greenworks with nw-gyp but get the error: "Failed to locate: "CL.exe"

I already have MSVC 2015 installed (tho it was auto install that came with Unity). I tried installing the Building Tools but I get an error stating it can't continue because VC 2015 is installed. I took a look at MS website and it woudl not let me download 2015 again (kept saying it was not found under my subscription). I tried installing 2017 then, and I do see cl.exe under:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64

But it I still keep getting the error. Any idea how to resolve this? Or, alternatively, if someone can rebuild greenworks for NW.js 0.24 (latest), since their own redistributables are outdated.

Cheers and thanks!