-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Labels
Description
Systems: OSX 10.12.3 and Linux
Julia: 0.6.0-pre.alpha.49, master/eca966c
Description:
- Attempting to load
libopencv_flannheaders from/usr/local/include/opencv2/opencv.hppresults inerror: cannot use typeid with -fno-rtti.
This indicates thatrttiis required to support flann. - Trying to load
libopencv_vizon Linux (but not OSX) appears to cause errors. This needs to be confirmed and debugged.
julia> using OpenCV
In file included from :1:
In file included from /usr/local/include/opencv2/opencv.hpp:62:
In file included from /usr/local/include/opencv2/flann.hpp:48:
In file included from /usr/local/include/opencv2/flann/flann_base.hpp:40:
In file included from /usr/local/include/opencv2/flann/params.h:33:
/usr/local/include/opencv2/flann/any.h:58:51: error: cannot use typeid with -fno-rtti
virtual const std::type_info& type() { return typeid(T); }
^
/usr/local/include/opencv2/flann/any.h:268:31: error: cannot use typeid with -fno-rtti
if (policy->type() != typeid(T)) throw anyimpl::bad_any_cast();
^
/usr/local/include/opencv2/flann/any.h:277:31: error: cannot use typeid with -fno-rtti
if (policy->type() != typeid(T)) throw anyimpl::bad_any_cast();
^
/usr/local/include/opencv2/flann/any.h:285:34: error: cannot use typeid with -fno-rtti
return policy->type() == typeid(anyimpl::empty_any);
^
/usr/local/include/opencv2/flann/any.h:305:34: error: cannot use typeid with -fno-rtti
return policy->type() == typeid(T);
^
WARNING: requiring "OpenCV" in module "Main" did not define a corresponding module.
Reactions are currently unavailable