Open jasonpolites opened 5 years ago
Hmm.. possibly related:
I had the same issue - turns out i built opencv version 4.
Using version 3.4.6 installation works fine.
I was having the same exact error message, having thought i manually installed OpenCV 3.4.6 on Ubuntu 16.
It turns out I forgot to actually make install
after make
'ing the source, and then promptly deleted the source directories after the incomplete "installation". oops...
After reinstalling (completely) OpenCV 3.4.6 from source, using -D CMAKE_INSTALL_PREFIX=/usr/local
during the cmake configuration, my npm install
with auto build disabled stopped reporting these errors.
npm is hanging on me now though, it just gets here and hangs:
> opencv-build@0.1.4 install /srv/incidentclear/microservices/services/frontend/node_modules/opencv-build
> node ./install.js
info install OPENCV4NODEJS_DISABLE_AUTOBUILD is set
info install skipping auto build...
> opencv4nodejs@5.1.0 install /srv/incidentclear/microservices/services/frontend/node_modules/opencv4nodejs
> node-gyp rebuild --jobs max
make: Entering directory '/srv/incidentclear/microservices/services/frontend/node_modules/opencv4nodejs/build'
CXX(target) Release/obj.target/opencv4nodejs/cc/CustomMatAllocator.o
CXX(target) Release/obj.target/opencv4nodejs/cc/opencv4nodejs.o
But this is a separate topic i suppose
Error Message
Auto Build - Full Error Log
N/A
Manual Build - Environment Information
OpenCV version
Built from source, using the following commands:
This appears to create include paths that look like
/usr/local/include/opencv4/opencv2/
With OpenCV-contrib? (extra modules): No
OS: This is in a Docker build, with
FROM node:10
. I believe that's Ubuntu (?)