Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 11:05:43 **** Incremental Build of configuration Debug for project tracker ****
- make all
- Building file: ../src/tracker.cpp
- Invoking: GCC C++ Compiler
- 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"
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp:110:70: error: redefinition of default argument for ‘long unsigned int fixed_size’
- template<typename _Tp, size_t fixed_size = 1024/sizeof(_Tp)+8> class AutoBuffer
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/core.hpp:3229:59: note: original definition appeared here
- template<typename _Tp, size_t fixed_size=4096/sizeof(_Tp)+8> class AutoBuffer
- ^
- In file included from ../src/tracker.cpp:8:0:
- /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]
- CV_EXPORTS ErrorCallback redirectError( ErrorCallback errCallback, void* userdata=0, void** prevUserdata=0);
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /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
- CV_EXPORTS ErrorCallback redirectError( ErrorCallback errCallback,
- ^
- In file included from ../src/tracker.cpp:8:0:
- /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]
- CV_EXPORTS ErrorCallback redirectError( ErrorCallback errCallback, void* userdata=0, void** prevUserdata=0);
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /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
- CV_EXPORTS ErrorCallback redirectError( ErrorCallback errCallback,
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp:183:51: error: default argument given for parameter 1 of ‘cv::String cv::tempfile(const char*)’ [-fpermissive]
- CV_EXPORTS String tempfile( const char* suffix = 0);
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/core.hpp:125:19: note: previous specification in ‘std::__cxx11::string cv::tempfile(const char*)’ here
- CV_EXPORTS string tempfile( const char* suffix CV_DEFAULT(0));
- ^
- In file included from ../src/tracker.cpp:8:0:
- /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]
- CV_EXPORTS void glob(String pattern, std::vector<String>& result, bool recursive = false);
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /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
- CV_EXPORTS void glob(String pattern, std::vector<String>& result, bool recursive = false);
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp:302:43: error: redefinition of ‘template<class _Tp> _Tp* cv::alignPtr(_Tp*, int)’
- template<typename _Tp> static inline _Tp* alignPtr(_Tp* ptr, int n=(int)sizeof(_Tp))
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/core.hpp:331:43: note: ‘template<class _Tp> _Tp* cv::alignPtr(_Tp*, int)’ previously declared here
- template<typename _Tp> static inline _Tp* alignPtr(_Tp* ptr, int n=(int)sizeof(_Tp))
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp: In function ‘size_t cv::alignSize(size_t, int)’:
- /usr/include/opencv2/core/utility.hpp:314:22: error: redefinition of ‘size_t cv::alignSize(size_t, int)’
- static inline size_t alignSize(size_t sz, int n)
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/core.hpp:341:22: note: ‘size_t cv::alignSize(size_t, int)’ previously defined here
- static inline size_t alignSize(size_t sz, int n)
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp: In function ‘size_t cv::getElemSize(int)’:
- /usr/include/opencv2/core/utility.hpp:341:22: error: redefinition of ‘size_t cv::getElemSize(int)’
- static inline size_t getElemSize(int type) { return CV_ELEM_SIZE(type); }
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/core.hpp:1486:22: note: ‘size_t cv::getElemSize(int)’ previously defined here
- static inline size_t getElemSize(int type) { return CV_ELEM_SIZE(type); }
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp: At global scope:
- /usr/include/opencv2/core/utility.hpp:347:18: error: redefinition of ‘class cv::ParallelLoopBody’
- class CV_EXPORTS ParallelLoopBody
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/core.hpp:4859:18: error: previous definition of ‘class cv::ParallelLoopBody’
- class CV_EXPORTS ParallelLoopBody
- ^
- In file included from ../src/tracker.cpp:8:0:
- /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]
- CV_EXPORTS void parallel_for_(const Range& range, const ParallelLoopBody& body, double nstripes=-1.);
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /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
- CV_EXPORTS void parallel_for_(const Range& range, const ParallelLoopBody& body, double nstripes=-1.);
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp:360:48: error: no ‘void cv::Mat::forEach_impl(const Functor&)’ member function declared in class ‘cv::Mat’
- void Mat::forEach_impl(const Functor& operation) {
- ^
- /usr/include/opencv2/core/utility.hpp:456:18: error: redefinition of ‘class cv::Mutex’
- class CV_EXPORTS Mutex
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/core.hpp:4870:18: error: previous definition of ‘class cv::Mutex’
- class CV_EXPORTS Mutex
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp:473:18: error: redefinition of ‘class cv::AutoLock’
- class CV_EXPORTS AutoLock
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/core.hpp:4887:18: error: previous definition of ‘class cv::AutoLock’
- class CV_EXPORTS AutoLock
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp:486:18: error: redefinition of ‘class cv::TLSDataContainer’
- class CV_EXPORTS TLSDataContainer
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/core.hpp:4899:7: error: previous definition of ‘class cv::TLSDataContainer’
- class TLSDataContainer
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp:512:7: error: redefinition of ‘class cv::TLSData<T>’
- class TLSData : protected TLSDataContainer
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/core.hpp:4914:7: error: previous definition of ‘class cv::TLSData<T>’
- class TLSData : protected TLSDataContainer
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp:612:18: error: redefinition of ‘class cv::CommandLineParser’
- class CV_EXPORTS CommandLineParser
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:49:0,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/core.hpp:4789:18: error: previous definition of ‘class cv::CommandLineParser’
- class CV_EXPORTS CommandLineParser
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp:766:1: error: redefinition of ‘cv::AutoBuffer<_Tp, fixed_size>::AutoBuffer()’
- AutoBuffer<_Tp, fixed_size>::AutoBuffer()
- ^
- In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
- from /usr/local/include/opencv2/opencv.hpp:49,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/operations.hpp:2540:50: note: ‘cv::AutoBuffer<_Tp, fixed_size>::AutoBuffer()’ previously declared here
- template<typename _Tp, size_t fixed_size> inline AutoBuffer<_Tp, fixed_size>::AutoBuffer()
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp:773:1: error: redefinition of ‘cv::AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t)’
- AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size)
- ^
- In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
- from /usr/local/include/opencv2/opencv.hpp:49,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/operations.hpp:2546:50: note: ‘cv::AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t)’ previously declared here
- template<typename _Tp, size_t fixed_size> inline AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size)
- ^
- In file included from ../src/tracker.cpp:8:0:
- /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>’
- AutoBuffer<_Tp, fixed_size>::AutoBuffer(const AutoBuffer<_Tp, fixed_size>& abuf )
- ^
- In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
- from /usr/local/include/opencv2/opencv.hpp:49,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/operations.hpp:2546:50: error: candidates are: cv::AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t)
- template<typename _Tp, size_t fixed_size> inline AutoBuffer<_Tp, fixed_size>::AutoBuffer(size_t _size)
- ^
- /usr/local/include/opencv2/core/operations.hpp:2540:50: error: cv::AutoBuffer<_Tp, fixed_size>::AutoBuffer()
- template<typename _Tp, size_t fixed_size> inline AutoBuffer<_Tp, fixed_size>::AutoBuffer()
- ^
- In file included from ../src/tracker.cpp:8:0:
- /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>’
- AutoBuffer<_Tp, fixed_size>::operator = (const AutoBuffer<_Tp, fixed_size>& abuf)
- ^
- /usr/include/opencv2/core/utility.hpp:804:1: error: redefinition of ‘cv::AutoBuffer<_Tp, fixed_size>::~AutoBuffer()’
- AutoBuffer<_Tp, fixed_size>::~AutoBuffer()
- ^
- In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
- from /usr/local/include/opencv2/opencv.hpp:49,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/operations.hpp:2553:50: note: ‘cv::AutoBuffer<_Tp, fixed_size>::~AutoBuffer()’ previously declared here
- template<typename _Tp, size_t fixed_size> inline AutoBuffer<_Tp, fixed_size>::~AutoBuffer()
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp:808:1: error: redefinition of ‘void cv::AutoBuffer<_Tp, fixed_size>::allocate(size_t)’
- AutoBuffer<_Tp, fixed_size>::allocate(size_t _size)
- ^
- In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
- from /usr/local/include/opencv2/opencv.hpp:49,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/operations.hpp:2556:55: note: ‘void cv::AutoBuffer<_Tp, fixed_size>::allocate(size_t)’ previously declared here
- template<typename _Tp, size_t fixed_size> inline void AutoBuffer<_Tp, fixed_size>::allocate(size_t _size)
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp:824:1: error: redefinition of ‘void cv::AutoBuffer<_Tp, fixed_size>::deallocate()’
- AutoBuffer<_Tp, fixed_size>::deallocate()
- ^
- In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
- from /usr/local/include/opencv2/opencv.hpp:49,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/operations.hpp:2568:55: note: ‘void cv::AutoBuffer<_Tp, fixed_size>::deallocate()’ previously declared here
- template<typename _Tp, size_t fixed_size> inline void AutoBuffer<_Tp, fixed_size>::deallocate()
- ^
- In file included from ../src/tracker.cpp:8:0:
- /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>’
- AutoBuffer<_Tp, fixed_size>::resize(size_t _size)
- ^
- /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>’
- AutoBuffer<_Tp, fixed_size>::size() const
- ^
- /usr/include/opencv2/core/utility.hpp:863:1: error: redefinition of ‘cv::AutoBuffer<_Tp, fixed_size>::operator _Tp*()’
- AutoBuffer<_Tp, fixed_size>::operator _Tp* ()
- ^
- In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
- from /usr/local/include/opencv2/opencv.hpp:49,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/operations.hpp:2578:50: note: ‘cv::AutoBuffer<_Tp, fixed_size>::operator _Tp*()’ previously declared here
- template<typename _Tp, size_t fixed_size> inline AutoBuffer<_Tp, fixed_size>::operator _Tp* ()
- ^
- In file included from ../src/tracker.cpp:8:0:
- /usr/include/opencv2/core/utility.hpp:867:1: error: redefinition of ‘cv::AutoBuffer<_Tp, fixed_size>::operator const _Tp*() const’
- AutoBuffer<_Tp, fixed_size>::operator const _Tp* () const
- ^
- In file included from /usr/local/include/opencv2/core/core.hpp:4929:0,
- from /usr/local/include/opencv2/opencv.hpp:49,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/operations.hpp:2581:50: note: ‘cv::AutoBuffer<_Tp, fixed_size>::operator const _Tp*() const’ previously declared here
- template<typename _Tp, size_t fixed_size> inline AutoBuffer<_Tp, fixed_size>::operator const _Tp* () const
- ^
- In file included from ../src/tracker.cpp:8:0:
- /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
- template<> inline std::string CommandLineParser::get<std::string>(int index, bool space_delete) const
- ^
- /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
- template<> inline std::string CommandLineParser::get<std::string>(const String& name, bool space_delete) const
- ^
- In file included from /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking.hpp:45:0,
- from ../src/tracker.cpp:9:
- /usr/include/opencv2/core/cvdef.h:306:15: error: redefinition of ‘union Cv32suf’
- typedef union Cv32suf
- ^
- In file included from /usr/local/include/opencv2/core/core_c.h:47:0,
- from /usr/local/include/opencv2/opencv.hpp:48,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/types_c.h:207:15: error: previous definition of ‘union Cv32suf’
- typedef union Cv32suf
- ^
- In file included from /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking.hpp:45:0,
- from ../src/tracker.cpp:9:
- /usr/include/opencv2/core/cvdef.h:312:1: error: conflicting declaration ‘typedef int Cv32suf’
- Cv32suf;
- ^
- In file included from /usr/local/include/opencv2/core/core_c.h:47:0,
- from /usr/local/include/opencv2/opencv.hpp:48,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/types_c.h:213:1: note: previous declaration as ‘typedef union Cv32suf Cv32suf’
- Cv32suf;
- ^
- In file included from /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking.hpp:45:0,
- from ../src/tracker.cpp:9:
- /usr/include/opencv2/core/cvdef.h:314:15: error: redefinition of ‘union Cv64suf’
- typedef union Cv64suf
- ^
- In file included from /usr/local/include/opencv2/core/core_c.h:47:0,
- from /usr/local/include/opencv2/opencv.hpp:48,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/types_c.h:215:15: error: previous definition of ‘union Cv64suf’
- typedef union Cv64suf
- ^
- In file included from /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking.hpp:45:0,
- from ../src/tracker.cpp:9:
- /usr/include/opencv2/core/cvdef.h:320:1: error: conflicting declaration ‘typedef int Cv64suf’
- Cv64suf;
- ^
- In file included from /usr/local/include/opencv2/core/core_c.h:47:0,
- from /usr/local/include/opencv2/opencv.hpp:48,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/core/types_c.h:221:1: note: previous declaration as ‘typedef union Cv64suf Cv64suf’
- Cv64suf;
- ^
- In file included from /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking.hpp:304:0,
- from ../src/tracker.cpp:9:
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:542:46: error: ‘Rect2d’ does not name a type
- CV_WRAP bool init( const Mat& image, const Rect2d& boundingBox );
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:553:49: error: ‘Rect2d’ has not been declared
- CV_WRAP bool update( const Mat& image, CV_OUT Rect2d& boundingBox );
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:570:50: error: ‘Rect2d’ does not name a type
- virtual bool initImpl( const Mat& image, const Rect2d& boundingBox ) = 0;
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:571:46: error: ‘Rect2d’ has not been declared
- virtual bool updateImpl( const Mat& image, Rect2d& boundingBox ) = 0;
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:938:7: error: ‘MinProblemSolver’ was not declared in this scope
- Ptr<MinProblemSolver> _solver;
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:938:23: error: template argument 1 is invalid
- Ptr<MinProblemSolver> _solver;
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:939:7: error: ‘MinProblemSolver’ was not declared in this scope
- Ptr<MinProblemSolver::Function> _function;
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:939:33: error: template argument 1 is invalid
- Ptr<MinProblemSolver::Function> _function;
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1318:44: error: ‘Rect2d’ does not name a type
- CV_WRAP bool add(const Mat& image, const Rect2d& boundingBox);
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1326:71: error: ‘Rect2d’ does not name a type
- CV_WRAP bool add(const String& trackerType, const Mat& image, const Rect2d& boundingBox);
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1334:77: error: ‘Rect2d’ was not declared in this scope
- CV_WRAP bool add(const String& trackerType, const Mat& image, std::vector<Rect2d> boundingBox);
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1334:83: error: template argument 1 is invalid
- CV_WRAP bool add(const String& trackerType, const Mat& image, std::vector<Rect2d> boundingBox);
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1334:83: error: template argument 2 is invalid
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1341:50: error: ‘Rect2d’ was not declared in this scope
- CV_WRAP bool add(const Mat& image, std::vector<Rect2d> boundingBox);
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1341:56: error: template argument 1 is invalid
- CV_WRAP bool add(const Mat& image, std::vector<Rect2d> boundingBox);
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1341:56: error: template argument 2 is invalid
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1351:15: error: ‘Rect2d’ was not declared in this scope
- std::vector<Rect2d> objects;
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1351:21: error: template argument 1 is invalid
- std::vector<Rect2d> objects;
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1351:21: error: template argument 2 is invalid
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1358:60: error: ‘Rect2d’ was not declared in this scope
- CV_WRAP bool update(const Mat& image, CV_OUT std::vector<Rect2d> & boundingBox);
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1358:66: error: template argument 1 is invalid
- CV_WRAP bool update(const Mat& image, CV_OUT std::vector<Rect2d> & boundingBox);
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1358:66: error: template argument 2 is invalid
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1391:42: error: ‘Rect2d’ does not name a type
- bool addTarget(const Mat& image, const Rect2d& boundingBox, String tracker_algorithm_name);
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1412:16: error: ‘Rect2d’ was not declared in this scope
- std::vector <Rect2d> boundingBoxes;
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1412:22: error: template argument 1 is invalid
- std::vector <Rect2d> boundingBoxes;
- ^
- /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking/tracker.hpp:1412:22: error: template argument 2 is invalid
- In file included from /home/zubair/opencv_contrib/opencv_contrib/modules/tracking/include/opencv2/tracking.hpp:305:0,
- from ../src/tracker.cpp:9:
- /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
- CV_EXPORTS cv::Rect2d tld_InitDataset(int videoInd, const char* rootPath = "TLD_dataset", int datasetInd = 0);
- ^
- In file included from ../src/tracker.cpp:10:0:
- /usr/include/opencv2/videoio.hpp:389:20: error: redefinition of ‘class cv::VideoCapture’
- class CV_EXPORTS_W VideoCapture
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:77:0,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/highgui/highgui.hpp:204:20: error: previous definition of ‘class cv::VideoCapture’
- class CV_EXPORTS_W VideoCapture
- ^
- In file included from ../src/tracker.cpp:10:0:
- /usr/include/opencv2/videoio.hpp:580:20: error: redefinition of ‘class cv::VideoWriter’
- class CV_EXPORTS_W VideoWriter
- ^
- In file included from /usr/local/include/opencv2/opencv.hpp:77:0,
- from ../src/tracker.cpp:7:
- /usr/local/include/opencv2/highgui/highgui.hpp:230:20: error: previous definition of ‘class cv::VideoWriter’
- class CV_EXPORTS_W VideoWriter
- ^
- In file included from ../src/tracker.cpp:10:0:
- /usr/include/opencv2/videoio.hpp:673:42: error: expected initializer before ‘<’ token
- template<> CV_EXPORTS void DefaultDeleter<CvCapture>::operator ()(CvCapture* obj) const;
- ^
- /usr/include/opencv2/videoio.hpp:674:42: error: expected initializer before ‘<’ token
- template<> CV_EXPORTS void DefaultDeleter<CvVideoWriter>::operator ()(CvVideoWriter* obj) const;
- ^
- ../src/tracker.cpp: In function ‘int main(int, char**)’:
- ../src/tracker.cpp:23:3: error: ‘Rect2d’ was not declared in this scope
- Rect2d roi;
- ^
- ../src/tracker.cpp:27:50: error: expected primary-expression before ‘const’
- cv::Ptr<cv::Tracker> tracker = Tracker::create(const String& TrackerMIL );
- ^
- ../src/tracker.cpp:35:3: error: ‘roi’ was not declared in this scope
- roi = selectROI("tracker",frame);
- ^
- ../src/tracker.cpp:35:34: error: ‘selectROI’ was not declared in this scope
- roi = selectROI("tracker",frame);
- ^
- src/subdir.mk:18: recipe for target 'src/tracker.o' failed
- make: *** [src/tracker.o] Error 1
- 11:05:44 Build Finished (took 726ms)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement