justadudewhohacks / justadudewhohacks/opencv4nodejs

install failed with "library dir does not exist" on OSX

Open
#507 1 comment 5 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

info install library dir does not exist: /usr/local/lib/node_modules/opencv4nodejs/node_modules/opencv-build/opencv/build/lib
info install running install script...
ERR! Error: Command failed: cmake --version
/bin/sh: cmake: command not found

npm i -g opencv4nodejs

> opencv-build@0.0.17 install /usr/local/lib/node_modules/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 library dir does not exist: /usr/local/lib/node_modules/opencv4nodejs/node_modules/opencv-build/opencv/build/lib
info install running install script...
ERR! Error: Command failed: cmake --version
/bin/sh: cmake: command not found

# Manual Build - Environment Information

*OpenCV version* (example 3.4.1): ?.?.?

*With OpenCV-contrib?* (extra modules): yes/no?

*OS*: Windows 7 / 8 / 10? / MacOSX? / Ubuntu? ...

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.