justadudewhohacks / justadudewhohacks/opencv4nodejs

Install Error

Open
#595 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5.1k
Forks
826
PR merge metrics
No merged PRs in 30d

Description

[ 75%] Building CXX object modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/src/exif.cpp.o
make[2]: *** No rule to make target '/usr/lib/libpng.so', needed by 'lib/libopencv_imgcodecs.so.3.4.3'. Stop.
CMakeFiles/Makefile2:3600: recipe for target 'modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/all' failed
make[1]: *** [modules/imgcodecs/CMakeFiles/opencv_imgcodecs.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
ERR! child process exited with code 2 (for more info, set '--loglevel silly')
/usr/local/lib
├── option@0.2.4
└── without@1.2.3

npm ERR! Linux 4.15.0-48-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "opencv4nodejs" "without" "-g" "option"
npm ERR! node v8.10.0
npm ERR! npm v3.5.2
npm ERR! code ELIFECYCLE

npm ERR! opencv-build@0.0.17 install: `node ./install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the opencv-build@0.0.17 install script 'node ./install.js'.
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 opencv-build package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs opencv-build
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls opencv-build
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /www/wwwroot/http/capture_back/npm-debug.log
I don't know how to solve it? PLZ

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.