Open
Description
node 0.8.14
npm 1.1.65
osx 10.7.4
Running npm install opencv-node
fails as follows.
> [email protected] install /Users/mrluc/projects/scratch/cv2/node_modules/opencv-node
> node-gyp configure build
CXX(target) Release/obj.target/addon/src/addon.o
In file included from /usr/local/include/opencv2/flann/params.h:33,
from /usr/local/include/opencv2/flann/flann_base.hpp:41,
from /usr/local/include/opencv2/flann/flann.hpp:50,
from /usr/local/include/opencv/cv.h:69,
from /usr/local/include/opencv/cv.hpp:50,
from ../src/opencvjs.h:5,
from ../src/addon.cpp:4:
/usr/local/include/opencv2/flann/any.h: In member function 'virtual const std::type_info& cvflann::anyimpl::typed_base_any_policy<T>::type()':
/usr/local/include/opencv2/flann/any.h:60: error: cannot use typeid with -fno-rtti
/usr/local/include/opencv2/flann/any.h: In member function 'T& cvflann::any::cast()':
/usr/local/include/opencv2/flann/any.h:248: error: cannot use typeid with -fno-rtti
/usr/local/include/opencv2/flann/any.h: In member function 'const T& cvflann::any::cast() const':
/usr/local/include/opencv2/flann/any.h:257: error: cannot use typeid with -fno-rtti
/usr/local/include/opencv2/flann/any.h: In member function 'bool cvflann::any::empty() const':
/usr/local/include/opencv2/flann/any.h:266: error: cannot use typeid with -fno-rtti
/usr/local/include/opencv2/flann/any.h: In member function 'bool cvflann::any::has_type()':
/usr/local/include/opencv2/flann/any.h:286: error: cannot use typeid with -fno-rtti
../src/bea.h: In static member function 'static bool bea::ExposedClass<T>::Is(v8::Handle<v8::Value>) [with T = cv::Mat]':
../src/opencvjs.h:258: instantiated from here
../src/bea.h:639: warning: unused variable 'nField'
../src/bea.h:640: warning: unused variable 'isExt'
../src/bea.h:645: warning: unused variable 'p'
../src/bea.h: In static member function 'static bool bea::ExposedClass<T>::Is(v8::Handle<v8::Value>) [with T = cv::VideoCapture]':
../src/opencvjs.h:273: instantiated from here
../src/bea.h:639: warning: unused variable 'nField'
../src/bea.h:640: warning: unused variable 'isExt'
../src/bea.h:645: warning: unused variable 'p'
../src/bea.h: In static member function 'static bool bea::ExposedClass<T>::Is(v8::Handle<v8::Value>) [with T = cv::VideoWriter]':
../src/opencvjs.h:288: instantiated from here
../src/bea.h:639: warning: unused variable 'nField'
../src/bea.h:640: warning: unused variable 'isExt'
../src/bea.h:645: warning: unused variable 'p'
../src/bea.h: In static member function 'static bool bea::ExposedClass<T>::Is(v8::Handle<v8::Value>) [with T = cv::SparseMat]':
../src/opencvjs.h:303: instantiated from here
../src/bea.h:639: warning: unused variable 'nField'
../src/bea.h:640: warning: unused variable 'isExt'
../src/bea.h:645: warning: unused variable 'p'
../src/bea.h: In static member function 'static bool bea::ExposedClass<T>::Is(v8::Handle<v8::Value>) [with T = cv::CascadeClassifier]':
../src/opencvjs.h:318: instantiated from here
../src/bea.h:639: warning: unused variable 'nField'
../src/bea.h:640: warning: unused variable 'isExt'
../src/bea.h:645: warning: unused variable 'p'
../src/opencvjs.h: At global scope:
../src/opencvjs.h:606: warning: 'void opencvjs::ExposeConstants(v8::Handle<v8::Object>)' declared 'static' but never defined
make: *** [Release/obj.target/addon/src/addon.o] Error 1
gyp ERR! build error
Metadata
Metadata
Assignees
Labels
No labels