traits.hpp compile error opencv 3.4 [closed]
Hi all,
I'm trying to compile .so libraries for Android NDK. The cmake configs are for ndk version 9 and and using all the opencv-contrib modules. When I go to the directory after cmake
has done configuring and generating I run make -j8
it runs for a while and then I get 3 errors in traits.hpp:
traits.hpp:366:18: error: ‘template<class _Tp> class cv::DataType’ used without template parameters
traits.hpp:366:34: error: expected primary-expression before ‘>’ token
traits.hpp:366:36: error: expected primary-expression before ‘}’ token
Am I doing something wrong?
@berak Thank you so much that was apparently the problem. I was using an older version of opencv-contrib. Thank you! You may write that as an answer and I will accept it.