OpenCV 3.3.1 error

asked 2017-11-01 06:24:01 -0600

ask gravatar image

core/traits.hpp:366:31: No member named 'type' in 'cv::DataType<cv::keypoint>' core/mat.inl.hpp:173:51: Incomplete definition of type 'cv::traits::Type<cv::keypoint>'

traits.hpp

edit retag flag offensive close merge delete

Comments

would you be so nice, to replace the screenshot with a TEXT version, so folks can grep or c/p your problem ?

also: are you using contrib modules ? or any 3rd party code, that uses this ? are you able to locate, where this is called ?

(it's never used from the opencv libs)

berak gravatar imageberak ( 2017-11-01 07:06:32 -0600 )edit

this seems to be the culprit

can you try to recompile with OPENCV_TRAITS_ENABLE_DEPRECATED defined ?

berak gravatar imageberak ( 2017-11-02 04:27:53 -0600 )edit

I think I am seeing this same error. Where do I define OPENCV_TRAITS_ENABLE_DEPRECATED?

jpistorino gravatar imagejpistorino ( 2018-01-22 19:27:14 -0600 )edit