Advertisement
kzbr93

error

May 8th, 2017
452
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.00 KB | None | 0 0
  1. 11:05:43 **** Incremental Build of configuration Debug for project tracker ****
  2. make all
  3. Building file: ../src/tracker.cpp
  4. Invoking: GCC C++ Compiler
  5. g++ -I/usr/local/include/opencv -I/home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/tracker.d" -MT"src/tracker.d" -o "src/tracker.o" "../src/tracker.cpp"
  6. In file included from ../src/tracker.cpp:8:0:
  7. /usr/include/opencv2/core/utility.hpp:110:70: error: redefinition of default argument for ‘long unsigned int fixed_size’
  8. template<typename _Tp, size_t fixed_size = 1024/sizeof(_Tp)+8> class AutoBuffer
  9. ^
  10. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  11. from ../src/tracker.cpp:7:
  12. /usr/local/include/opencv2/core/core.hpp:3229:59: note: original definition appeared here
  13. template<typename _Tp, size_t fixed_size=4096/sizeof(_Tp)+8> class AutoBuffer
  14. ^
  15. In file included from ../src/tracker.cpp:8:0:
  16. /usr/include/opencv2/core/utility.hpp:174:107: error: default argument given for parameter 2 of ‘int (* cv::redirectError(cv::ErrorCallback, void*, void**))(int, const char*, const char*, const char*, int, void*)’ [-fpermissive]
  17. CV_EXPORTS ErrorCallback redirectError( ErrorCallback errCallback, void* userdata=0, void** prevUserdata=0);
  18. ^
  19. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  20. from ../src/tracker.cpp:7:
  21. /usr/local/include/opencv2/core/core.hpp:206:26: note: previous specification in ‘int (* cv::redirectError(cv::ErrorCallback, void*, void**))(int, const char*, const char*, const char*, int, void*)’ here
  22. CV_EXPORTS ErrorCallback redirectError( ErrorCallback errCallback,
  23. ^
  24. In file included from ../src/tracker.cpp:8:0:
  25. /usr/include/opencv2/core/utility.hpp:174:107: error: default argument given for parameter 3 of ‘int (* cv::redirectError(cv::ErrorCallback, void*, void**))(int, const char*, const char*, const char*, int, void*)’ [-fpermissive]
  26. CV_EXPORTS ErrorCallback redirectError( ErrorCallback errCallback, void* userdata=0, void** prevUserdata=0);
  27. ^
  28. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  29. from ../src/tracker.cpp:7:
  30. /usr/local/include/opencv2/core/core.hpp:206:26: note: previous specification in ‘int (* cv::redirectError(cv::ErrorCallback, void*, void**))(int, const char*, const char*, const char*, int, void*)’ here
  31. CV_EXPORTS ErrorCallback redirectError( ErrorCallback errCallback,
  32. ^
  33. In file included from ../src/tracker.cpp:8:0:
  34. /usr/include/opencv2/core/utility.hpp:183:51: error: default argument given for parameter 1 of ‘cv::String cv::tempfile(const char*)’ [-fpermissive]
  35. CV_EXPORTS String tempfile( const char* suffix = 0);
  36. ^
  37. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  38. from ../src/tracker.cpp:7:
  39. /usr/local/include/opencv2/core/core.hpp:125:19: note: previous specification in ‘std::__cxx11::string cv::tempfile(const char*)’ here
  40. CV_EXPORTS string tempfile( const char* suffix CV_DEFAULT(0));
  41. ^
  42. In file included from ../src/tracker.cpp:8:0:
  43. /usr/include/opencv2/core/utility.hpp:184:89: error: default argument given for parameter 3 of ‘void cv::glob(cv::String, std::vector<std::__cxx11::basic_string<char> >&, bool)’ [-fpermissive]
  44. CV_EXPORTS void glob(String pattern, std::vector<String>& result, bool recursive = false);
  45. ^
  46. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  47. from ../src/tracker.cpp:7:
  48. /usr/local/include/opencv2/core/core.hpp:228:17: note: previous specification in ‘void cv::glob(cv::String, std::vector<std::__cxx11::basic_string<char> >&, bool)’ here
  49. CV_EXPORTS void glob(String pattern, std::vector<String>& result, bool recursive = false);
  50. ^
  51. In file included from ../src/tracker.cpp:8:0:
  52. /usr/include/opencv2/core/utility.hpp:302:43: error: redefinition of ‘template<class _Tp> _Tp* cv::alignPtr(_Tp*, int)’
  53. template<typename _Tp> static inline _Tp* alignPtr(_Tp* ptr, int n=(int)sizeof(_Tp))
  54. ^
  55. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  56. from ../src/tracker.cpp:7:
  57. /usr/local/include/opencv2/core/core.hpp:331:43: note: ‘template<class _Tp> _Tp* cv::alignPtr(_Tp*, int)’ previously declared here
  58. template<typename _Tp> static inline _Tp* alignPtr(_Tp* ptr, int n=(int)sizeof(_Tp))
  59. ^
  60. In file included from ../src/tracker.cpp:8:0:
  61. /usr/include/opencv2/core/utility.hpp: In function ‘size_t cv::alignSize(size_t, int)’:
  62. /usr/include/opencv2/core/utility.hpp:314:22: error: redefinition of ‘size_t cv::alignSize(size_t, int)’
  63. static inline size_t alignSize(size_t sz, int n)
  64. ^
  65. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  66. from ../src/tracker.cpp:7:
  67. /usr/local/include/opencv2/core/core.hpp:341:22: note: ‘size_t cv::alignSize(size_t, int)’ previously defined here
  68. static inline size_t alignSize(size_t sz, int n)
  69. ^
  70. In file included from ../src/tracker.cpp:8:0:
  71. /usr/include/opencv2/core/utility.hpp: In function ‘size_t cv::getElemSize(int)’:
  72. /usr/include/opencv2/core/utility.hpp:341:22: error: redefinition of ‘size_t cv::getElemSize(int)’
  73. static inline size_t getElemSize(int type) { return CV_ELEM_SIZE(type); }
  74. ^
  75. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  76. from ../src/tracker.cpp:7:
  77. /usr/local/include/opencv2/core/core.hpp:1486:22: note: ‘size_t cv::getElemSize(int)’ previously defined here
  78. static inline size_t getElemSize(int type) { return CV_ELEM_SIZE(type); }
  79. ^
  80. In file included from ../src/tracker.cpp:8:0:
  81. /usr/include/opencv2/core/utility.hpp: At global scope:
  82. /usr/include/opencv2/core/utility.hpp:347:18: error: redefinition of ‘class cv::ParallelLoopBody’
  83. class CV_EXPORTS ParallelLoopBody
  84. ^
  85. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  86. from ../src/tracker.cpp:7:
  87. /usr/local/include/opencv2/core/core.hpp:4859:18: error: previous definition of ‘class cv::ParallelLoopBody’
  88. class CV_EXPORTS ParallelLoopBody
  89. ^
  90. In file included from ../src/tracker.cpp:8:0:
  91. /usr/include/opencv2/core/utility.hpp:356:100: error: default argument given for parameter 3 of ‘void cv::parallel_for_(const cv::Range&, const cv::ParallelLoopBody&, double)’ [-fpermissive]
  92. CV_EXPORTS void parallel_for_(const Range& range, const ParallelLoopBody& body, double nstripes=-1.);
  93. ^
  94. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  95. from ../src/tracker.cpp:7:
  96. /usr/local/include/opencv2/core/core.hpp:4866:17: note: previous specification in ‘void cv::parallel_for_(const cv::Range&, const cv::ParallelLoopBody&, double)’ here
  97. CV_EXPORTS void parallel_for_(const Range& range, const ParallelLoopBody& body, double nstripes=-1.);
  98. ^
  99. In file included from ../src/tracker.cpp:8:0:
  100. /usr/include/opencv2/core/utility.hpp:360:48: error: no ‘void cv::Mat::forEach_impl(const Functor&)’ member function declared in class ‘cv::Mat’
  101. void Mat::forEach_impl(const Functor& operation) {
  102. ^
  103. /usr/include/opencv2/core/utility.hpp:456:18: error: redefinition of ‘class cv::Mutex’
  104. class CV_EXPORTS Mutex
  105. ^
  106. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  107. from ../src/tracker.cpp:7:
  108. /usr/local/include/opencv2/core/core.hpp:4870:18: error: previous definition of ‘class cv::Mutex’
  109. class CV_EXPORTS Mutex
  110. ^
  111. In file included from ../src/tracker.cpp:8:0:
  112. /usr/include/opencv2/core/utility.hpp:473:18: error: redefinition of ‘class cv::AutoLock’
  113. class CV_EXPORTS AutoLock
  114. ^
  115. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  116. from ../src/tracker.cpp:7:
  117. /usr/local/include/opencv2/core/core.hpp:4887:18: error: previous definition of ‘class cv::AutoLock’
  118. class CV_EXPORTS AutoLock
  119. ^
  120. In file included from ../src/tracker.cpp:8:0:
  121. /usr/include/opencv2/core/utility.hpp:486:18: error: redefinition of ‘class cv::TLSDataContainer’
  122. class CV_EXPORTS TLSDataContainer
  123. ^
  124. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  125. from ../src/tracker.cpp:7:
  126. /usr/local/include/opencv2/core/core.hpp:4899:7: error: previous definition of ‘class cv::TLSDataContainer’
  127. class TLSDataContainer
  128. ^
  129. In file included from ../src/tracker.cpp:8:0:
  130. /usr/include/opencv2/core/utility.hpp:512:7: error: redefinition of ‘class cv::TLSData<T>’
  131. class TLSData : protected TLSDataContainer
  132. ^
  133. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  134. from ../src/tracker.cpp:7:
  135. /usr/local/include/opencv2/core/core.hpp:4914:7: error: previous definition of ‘class cv::TLSData<T>’
  136. class TLSData : protected TLSDataContainer
  137. ^
  138. In file included from ../src/tracker.cpp:8:0:
  139. /usr/include/opencv2/core/utility.hpp:612:18: error: redefinition of ‘class cv::CommandLineParser’
  140. class CV_EXPORTS CommandLineParser
  141. ^
  142. In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
  143. from ../src/tracker.cpp:7:
  144. /usr/local/include/opencv2/core/core.hpp:4789:18: error: previous definition of ‘class cv::CommandLineParser’
  145. class CV_EXPORTS CommandLineParser
  146. ^
  147. In file included from ../src/tracker.cpp:8:0:
  148. /usr/include/opencv2/core/utility.hpp:766:1: error: redefinition of ‘cv::AutoBuffer<_Tp, fixed_size>::AutoBuffer()’
  149. AutoBuffer<_Tp, fixed_size>::AutoBuffer()
  150. ^
  151. In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
  152. from /usr/local/include/opencv2/opencv.hpp:49,
  153. from ../src/tracker.cpp:7:
  154. /usr/local/include/opencv2/core/operations.hpp:2540:50: note: ‘cv::AutoBuffer<_Tp, fixed_size>::AutoBuffer()’ previously declared here
  155. template<typename _Tp, size_t fixed_size> inline AutoBuffer<_Tp, fixed_size>::AutoBuffer()
  156. ^
  157. In file included from ../src/tracker.cpp:8:0:
  158. /usr/include/opencv2/core/utility.hpp:773:1: error: redefinition of ‘cv::AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t)’
  159. AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size)
  160. ^
  161. In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
  162. from /usr/local/include/opencv2/opencv.hpp:49,
  163. from ../src/tracker.cpp:7:
  164. /usr/local/include/opencv2/core/operations.hpp:2546:50: note: ‘cv::AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t)’ previously declared here
  165. template<typename _Tp, size_t fixed_size> inline AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size)
  166. ^
  167. In file included from ../src/tracker.cpp:8:0:
  168. /usr/include/opencv2/core/utility.hpp:781:1: error: prototype for ‘cv::AutoBuffer<_Tp, fixed_size>::AutoBuffer(const cv::AutoBuffer<_Tp, fixed_size>&)’ does not match any in class ‘cv::AutoBuffer<_Tp, fixed_size>’
  169. AutoBuffer<_Tp, fixed_size>::AutoBuffer(const AutoBuffer<_Tp, fixed_size>& abuf )
  170. ^
  171. In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
  172. from /usr/local/include/opencv2/opencv.hpp:49,
  173. from ../src/tracker.cpp:7:
  174. /usr/local/include/opencv2/core/operations.hpp:2546:50: error: candidates are: cv::AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t)
  175. template<typename _Tp, size_t fixed_size> inline AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size)
  176. ^
  177. /usr/local/include/opencv2/core/operations.hpp:2540:50: error: cv::AutoBuffer<_Tp, fixed_size>::AutoBuffer()
  178. template<typename _Tp, size_t fixed_size> inline AutoBuffer<_Tp, fixed_size>::AutoBuffer()
  179. ^
  180. In file included from ../src/tracker.cpp:8:0:
  181. /usr/include/opencv2/core/utility.hpp:791:81: error: no ‘cv::AutoBuffer<_Tp, fixed_size>& cv::AutoBuffer<_Tp, fixed_size>::operator=(const cv::AutoBuffer<_Tp, fixed_size>&)’ member function declared in class ‘cv::AutoBuffer<_Tp, fixed_size>’
  182. AutoBuffer<_Tp, fixed_size>::operator = (const AutoBuffer<_Tp, fixed_size>& abuf)
  183. ^
  184. /usr/include/opencv2/core/utility.hpp:804:1: error: redefinition of ‘cv::AutoBuffer<_Tp, fixed_size>::~AutoBuffer()’
  185. AutoBuffer<_Tp, fixed_size>::~AutoBuffer()
  186. ^
  187. In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
  188. from /usr/local/include/opencv2/opencv.hpp:49,
  189. from ../src/tracker.cpp:7:
  190. /usr/local/include/opencv2/core/operations.hpp:2553:50: note: ‘cv::AutoBuffer<_Tp, fixed_size>::~AutoBuffer()’ previously declared here
  191. template<typename _Tp, size_t fixed_size> inline AutoBuffer<_Tp, fixed_size>::~AutoBuffer()
  192. ^
  193. In file included from ../src/tracker.cpp:8:0:
  194. /usr/include/opencv2/core/utility.hpp:808:1: error: redefinition of ‘void cv::AutoBuffer<_Tp, fixed_size>::allocate(size_t)’
  195. AutoBuffer<_Tp, fixed_size>::allocate(size_t _size)
  196. ^
  197. In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
  198. from /usr/local/include/opencv2/opencv.hpp:49,
  199. from ../src/tracker.cpp:7:
  200. /usr/local/include/opencv2/core/operations.hpp:2556:55: note: ‘void cv::AutoBuffer<_Tp, fixed_size>::allocate(size_t)’ previously declared here
  201. template<typename _Tp, size_t fixed_size> inline void AutoBuffer<_Tp, fixed_size>::allocate(size_t _size)
  202. ^
  203. In file included from ../src/tracker.cpp:8:0:
  204. /usr/include/opencv2/core/utility.hpp:824:1: error: redefinition of ‘void cv::AutoBuffer<_Tp, fixed_size>::deallocate()’
  205. AutoBuffer<_Tp, fixed_size>::deallocate()
  206. ^
  207. In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
  208. from /usr/local/include/opencv2/opencv.hpp:49,
  209. from ../src/tracker.cpp:7:
  210. /usr/local/include/opencv2/core/operations.hpp:2568:55: note: ‘void cv::AutoBuffer<_Tp, fixed_size>::deallocate()’ previously declared here
  211. template<typename _Tp, size_t fixed_size> inline void AutoBuffer<_Tp, fixed_size>::deallocate()
  212. ^
  213. In file included from ../src/tracker.cpp:8:0:
  214. /usr/include/opencv2/core/utility.hpp:835:49: error: no ‘void cv::AutoBuffer<_Tp, fixed_size>::resize(size_t)’ member function declared in class ‘cv::AutoBuffer<_Tp, fixed_size>’
  215. AutoBuffer<_Tp, fixed_size>::resize(size_t _size)
  216. ^
  217. /usr/include/opencv2/core/utility.hpp:859:37: error: no ‘size_t cv::AutoBuffer<_Tp, fixed_size>::size() const’ member function declared in class ‘cv::AutoBuffer<_Tp, fixed_size>’
  218. AutoBuffer<_Tp, fixed_size>::size() const
  219. ^
  220. /usr/include/opencv2/core/utility.hpp:863:1: error: redefinition of ‘cv::AutoBuffer<_Tp, fixed_size>::operator _Tp*()’
  221. AutoBuffer<_Tp, fixed_size>::operator _Tp* ()
  222. ^
  223. In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
  224. from /usr/local/include/opencv2/opencv.hpp:49,
  225. from ../src/tracker.cpp:7:
  226. /usr/local/include/opencv2/core/operations.hpp:2578:50: note: ‘cv::AutoBuffer<_Tp, fixed_size>::operator _Tp*()’ previously declared here
  227. template<typename _Tp, size_t fixed_size> inline AutoBuffer<_Tp, fixed_size>::operator _Tp* ()
  228. ^
  229. In file included from ../src/tracker.cpp:8:0:
  230. /usr/include/opencv2/core/utility.hpp:867:1: error: redefinition of ‘cv::AutoBuffer<_Tp, fixed_size>::operator const _Tp*() const’
  231. AutoBuffer<_Tp, fixed_size>::operator const _Tp* () const
  232. ^
  233. In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
  234. from /usr/local/include/opencv2/opencv.hpp:49,
  235. from ../src/tracker.cpp:7:
  236. /usr/local/include/opencv2/core/operations.hpp:2581:50: note: ‘cv::AutoBuffer<_Tp, fixed_size>::operator const _Tp*() const’ previously declared here
  237. template<typename _Tp, size_t fixed_size> inline AutoBuffer<_Tp, fixed_size>::operator const _Tp* () const
  238. ^
  239. In file included from ../src/tracker.cpp:8:0:
  240. /usr/include/opencv2/core/utility.hpp:871:31: error: template-id ‘get<std::__cxx11::string>’ for ‘std::__cxx11::string cv::CommandLineParser::get(int, bool) const’ does not match any template declaration
  241. template<> inline std::string CommandLineParser::get<std::string>(int index, bool space_delete) const
  242. ^
  243. /usr/include/opencv2/core/utility.hpp:875:31: error: template-id ‘get<std::__cxx11::string>’ for ‘std::__cxx11::string cv::CommandLineParser::get(const String&, bool) const’ does not match any template declaration
  244. template<> inline std::string CommandLineParser::get<std::string>(const String& name, bool space_delete) const
  245. ^
  246. In file included from /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking.hpp:45:0,
  247. from ../src/tracker.cpp:9:
  248. /usr/include/opencv2/core/cvdef.h:306:15: error: redefinition of ‘union Cv32suf’
  249. typedef union Cv32suf
  250. ^
  251. In file included from /usr/local/include/opencv2/core/core_c.h:47:0,
  252. from /usr/local/include/opencv2/opencv.hpp:48,
  253. from ../src/tracker.cpp:7:
  254. /usr/local/include/opencv2/core/types_c.h:207:15: error: previous definition of ‘union Cv32suf’
  255. typedef union Cv32suf
  256. ^
  257. In file included from /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking.hpp:45:0,
  258. from ../src/tracker.cpp:9:
  259. /usr/include/opencv2/core/cvdef.h:312:1: error: conflicting declaration ‘typedef int Cv32suf’
  260. Cv32suf;
  261. ^
  262. In file included from /usr/local/include/opencv2/core/core_c.h:47:0,
  263. from /usr/local/include/opencv2/opencv.hpp:48,
  264. from ../src/tracker.cpp:7:
  265. /usr/local/include/opencv2/core/types_c.h:213:1: note: previous declaration as ‘typedef union Cv32suf Cv32suf’
  266. Cv32suf;
  267. ^
  268. In file included from /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking.hpp:45:0,
  269. from ../src/tracker.cpp:9:
  270. /usr/include/opencv2/core/cvdef.h:314:15: error: redefinition of ‘union Cv64suf’
  271. typedef union Cv64suf
  272. ^
  273. In file included from /usr/local/include/opencv2/core/core_c.h:47:0,
  274. from /usr/local/include/opencv2/opencv.hpp:48,
  275. from ../src/tracker.cpp:7:
  276. /usr/local/include/opencv2/core/types_c.h:215:15: error: previous definition of ‘union Cv64suf’
  277. typedef union Cv64suf
  278. ^
  279. In file included from /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking.hpp:45:0,
  280. from ../src/tracker.cpp:9:
  281. /usr/include/opencv2/core/cvdef.h:320:1: error: conflicting declaration ‘typedef int Cv64suf’
  282. Cv64suf;
  283. ^
  284. In file included from /usr/local/include/opencv2/core/core_c.h:47:0,
  285. from /usr/local/include/opencv2/opencv.hpp:48,
  286. from ../src/tracker.cpp:7:
  287. /usr/local/include/opencv2/core/types_c.h:221:1: note: previous declaration as ‘typedef union Cv64suf Cv64suf’
  288. Cv64suf;
  289. ^
  290. In file included from /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking.hpp:304:0,
  291. from ../src/tracker.cpp:9:
  292. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:542:46: error: ‘Rect2d’ does not name a type
  293. CV_WRAP bool init( const Mat& image, const Rect2d& boundingBox );
  294. ^
  295. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:553:49: error: ‘Rect2d’ has not been declared
  296. CV_WRAP bool update( const Mat& image, CV_OUT Rect2d& boundingBox );
  297. ^
  298. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:570:50: error: ‘Rect2d’ does not name a type
  299. virtual bool initImpl( const Mat& image, const Rect2d& boundingBox ) = 0;
  300. ^
  301. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:571:46: error: ‘Rect2d’ has not been declared
  302. virtual bool updateImpl( const Mat& image, Rect2d& boundingBox ) = 0;
  303. ^
  304. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:938:7: error: ‘MinProblemSolver’ was not declared in this scope
  305. Ptr<MinProblemSolver> _solver;
  306. ^
  307. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:938:23: error: template argument 1 is invalid
  308. Ptr<MinProblemSolver> _solver;
  309. ^
  310. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:939:7: error: ‘MinProblemSolver’ was not declared in this scope
  311. Ptr<MinProblemSolver::Function> _function;
  312. ^
  313. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:939:33: error: template argument 1 is invalid
  314. Ptr<MinProblemSolver::Function> _function;
  315. ^
  316. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1318:44: error: ‘Rect2d’ does not name a type
  317. CV_WRAP bool add(const Mat& image, const Rect2d& boundingBox);
  318. ^
  319. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1326:71: error: ‘Rect2d’ does not name a type
  320. CV_WRAP bool add(const String& trackerType, const Mat& image, const Rect2d& boundingBox);
  321. ^
  322. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1334:77: error: ‘Rect2d’ was not declared in this scope
  323. CV_WRAP bool add(const String& trackerType, const Mat& image, std::vector<Rect2d> boundingBox);
  324. ^
  325. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1334:83: error: template argument 1 is invalid
  326. CV_WRAP bool add(const String& trackerType, const Mat& image, std::vector<Rect2d> boundingBox);
  327. ^
  328. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1334:83: error: template argument 2 is invalid
  329. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1341:50: error: ‘Rect2d’ was not declared in this scope
  330. CV_WRAP bool add(const Mat& image, std::vector<Rect2d> boundingBox);
  331. ^
  332. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1341:56: error: template argument 1 is invalid
  333. CV_WRAP bool add(const Mat& image, std::vector<Rect2d> boundingBox);
  334. ^
  335. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1341:56: error: template argument 2 is invalid
  336. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1351:15: error: ‘Rect2d’ was not declared in this scope
  337. std::vector<Rect2d> objects;
  338. ^
  339. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1351:21: error: template argument 1 is invalid
  340. std::vector<Rect2d> objects;
  341. ^
  342. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1351:21: error: template argument 2 is invalid
  343. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1358:60: error: ‘Rect2d’ was not declared in this scope
  344. CV_WRAP bool update(const Mat& image, CV_OUT std::vector<Rect2d> & boundingBox);
  345. ^
  346. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1358:66: error: template argument 1 is invalid
  347. CV_WRAP bool update(const Mat& image, CV_OUT std::vector<Rect2d> & boundingBox);
  348. ^
  349. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1358:66: error: template argument 2 is invalid
  350. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1391:42: error: ‘Rect2d’ does not name a type
  351. bool addTarget(const Mat& image, const Rect2d& boundingBox, String tracker_algorithm_name);
  352. ^
  353. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1412:16: error: ‘Rect2d’ was not declared in this scope
  354. std::vector <Rect2d> boundingBoxes;
  355. ^
  356. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1412:22: error: template argument 1 is invalid
  357. std::vector <Rect2d> boundingBoxes;
  358. ^
  359. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1412:22: error: template argument 2 is invalid
  360. In file included from /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking.hpp:305:0,
  361. from ../src/tracker.cpp:9:
  362. /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tldDataset.hpp:51:18: error: ‘Rect2d’ in namespace ‘cv’ does not name a type
  363. CV_EXPORTS cv::Rect2d tld_InitDataset(int videoInd, const char* rootPath = "TLD_dataset", int datasetInd = 0);
  364. ^
  365. In file included from ../src/tracker.cpp:10:0:
  366. /usr/include/opencv2/videoio.hpp:389:20: error: redefinition of ‘class cv::VideoCapture’
  367. class CV_EXPORTS_W VideoCapture
  368. ^
  369. In file included from /usr/local/include/opencv2/opencv.hpp:77:0,
  370. from ../src/tracker.cpp:7:
  371. /usr/local/include/opencv2/highgui/highgui.hpp:204:20: error: previous definition of ‘class cv::VideoCapture’
  372. class CV_EXPORTS_W VideoCapture
  373. ^
  374. In file included from ../src/tracker.cpp:10:0:
  375. /usr/include/opencv2/videoio.hpp:580:20: error: redefinition of ‘class cv::VideoWriter’
  376. class CV_EXPORTS_W VideoWriter
  377. ^
  378. In file included from /usr/local/include/opencv2/opencv.hpp:77:0,
  379. from ../src/tracker.cpp:7:
  380. /usr/local/include/opencv2/highgui/highgui.hpp:230:20: error: previous definition of ‘class cv::VideoWriter’
  381. class CV_EXPORTS_W VideoWriter
  382. ^
  383. In file included from ../src/tracker.cpp:10:0:
  384. /usr/include/opencv2/videoio.hpp:673:42: error: expected initializer before ‘<’ token
  385. template<> CV_EXPORTS void DefaultDeleter<CvCapture>::operator ()(CvCapture* obj) const;
  386. ^
  387. /usr/include/opencv2/videoio.hpp:674:42: error: expected initializer before ‘<’ token
  388. template<> CV_EXPORTS void DefaultDeleter<CvVideoWriter>::operator ()(CvVideoWriter* obj) const;
  389. ^
  390. ../src/tracker.cpp: In function ‘int main(int, char**)’:
  391. ../src/tracker.cpp:23:3: error: ‘Rect2d’ was not declared in this scope
  392. Rect2d roi;
  393. ^
  394. ../src/tracker.cpp:27:50: error: expected primary-expression before ‘const’
  395. cv::Ptr<cv::Tracker> tracker = Tracker::create(const String& TrackerMIL );
  396. ^
  397. ../src/tracker.cpp:35:3: error: ‘roi’ was not declared in this scope
  398. roi = selectROI("tracker",frame);
  399. ^
  400. ../src/tracker.cpp:35:34: error: ‘selectROI’ was not declared in this scope
  401. roi = selectROI("tracker",frame);
  402. ^
  403. src/subdir.mk:18: recipe for target 'src/tracker.o' failed
  404. make: *** [src/tracker.o] Error 1
  405.  
  406. 11:05:44 Build Finished (took 726ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement