Opencv4nodejs: is it working on windows? Specs node 8.11,7 windows7

Created on 25 May 2018  路  2Comments  路  Source: justadudewhohacks/opencv4nodejs

I run npm install and get the following:

````
\opencv4nodejs\node_modules\opencv-build

node ./install.js

info install if you want to use an own OpenCV installation set OPENCV4NODEJS_DISABLE_AUTOBUILD
info install running install script...
ERR! Error: Command failed: cmake --version
'cmake' is not recognized as an internal or external command,
operable program or batch file.`

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: node ./install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:`

```

############At npm/debug log it sais:

820 verbose stack Error: [email protected] install:node ./install.js 820 verbose stack Exit status 1 820 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:285:16) 820 verbose stack at emitTwo (events.js:126:13) 820 verbose stack at EventEmitter.emit (events.js:214:7) 820 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 820 verbose stack at emitTwo (events.js:126:13) 820 verbose stack at ChildProcess.emit (events.js:214:7) 820 verbose stack at maybeClose (internal/child_process.js:925:16) 820 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) 821 verbose pkgid [email protected]

Most helpful comment

cmake is needed to compile source, install it from https://cmake.org/install/

All 2 comments

I am facing the same problem. Have you solved it?

cmake is needed to compile source, install it from https://cmake.org/install/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bgsuello picture bgsuello  路  6Comments

pabx06 picture pabx06  路  4Comments

fildaniels picture fildaniels  路  5Comments

je3f0o picture je3f0o  路  6Comments

Paulito-7 picture Paulito-7  路  5Comments