-
Notifications
You must be signed in to change notification settings - Fork 851
Closed
Description
When I try to build node-opencv 4.0.0 (actually the latest "master" form Github) against OpenCV 3.1.0 I get the following errors under GCC 5.2.0:
> [email protected] install /u/rse/prj/opencv/node-opencv
> node-pre-gyp install --fallback-to-build
gmake: Entering directory '/u/rse/prj/opencv/node-opencv/build'
CXX(target) Release/obj.target/opencv/src/init.o
In file included from ../src/init.cc:5:0:
../src/CascadeClassifierWrap.h:5:7: error: 'CascadeClassifier' in namespace 'cv' does not name a type
cv::CascadeClassifier cc;
^
In file included from ../src/init.cc:6:0:
../src/VideoCaptureWrap.h:5:7: error: 'VideoCapture' in namespace 'cv' does not name a type
cv::VideoCapture cap;
^
In file included from ../src/init.cc:15:0:
../src/Stereo.h:8:7: error: 'StereoBM' in namespace 'cv' does not name a type
cv::StereoBM stereo;
^
../src/Stereo.h:14:29: error: 'cv::StereoBM' has not been declared
StereoBM(int preset = cv::StereoBM::BASIC_PRESET, int ndisparities = 0,
^
../src/Stereo.h:23:7: error: 'StereoSGBM' in namespace 'cv' does not name a type
cv::StereoSGBM stereo;
^
Before digging deeper, the questions for me now are:
- Is node-opencv intended to be built against OpenCV 3 at all?
- If (1) is "yes", is just the latest OpenCV 3.1.0 the problem?
- If (1) is "yes", is perhaps the GCC 5.2 and its strictness here the problem?
Has anybody successfully built node-opencv against OpenCV 3?
Metadata
Metadata
Assignees
Labels
No labels