2017-02-21 3 views
-1

Versuch cmake-js zu installieren/Fastcall:Fehler bei der Installation von cmake-js/Fastcall

npm install fastcall 

immer Fehler:

ERR! OMG There is no Visual C++ compiler installed. Install Visual C++ Build Toolset or Visual Studio. 
.... 
npm ERR! Windows_NT 6.1.7601 
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "fastcall" 
npm ERR! node v6.9.5 
npm ERR! npm v3.10.10 
npm ERR! code ELIFECYCLE 

npm ERR! [email protected] install: `cmake-js compile` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] install script 'cmake-js compile'. 
npm ERR! Make sure you have the latest version of node.js and npm  installed. 
npm ERR! If you do, this is most likely a problem with the fastcall  package, 
npm ERR! not with npm itself. 

Visual Studio 2015 Gemeinschaft installiert ist, i c kompilieren ++ Code sehr auch von dort ..

folgenden nicht das Problem gelöst:

set VisualStudioVersion=14.0 
call c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat 
npm install fastcall --msvs_version=2015 

und es gibt nichts im Protokoll, nichts in Google! Brauche deine Hilfe. Wo kann man hinschauen?

+0

Ihr Problem hat nichts mit CMake zu tun. Sie zeigen CMake-Code nicht an und das ist kein CMake-Fehler. – usr1234567

+0

jedoch, wie könnte ich das diagnostizieren? noch keine Ahnung !!! sollte ich cmake installieren? oder ist cmake-js vollständige JavaScript-Implementierung (und ich brauche keine regelmäßige Cmake)? Soll ich eine weitere Konfiguration vornehmen? – xakepp35

Antwort

0

Installation cmake-3.8.0-rc1-win64 löste das Problem vollständig!