Home > Software engineering >  Simple opencv3.4.0/C using the Tracker for target tracking
Simple opencv3.4.0/C using the Tracker for target tracking

Time:11-23

1> VideoCap. Obj: error LNK2019: cannot resolve the external symbol of "public: bool __cdecl CV: : Tracker: : init (class CV: : debug_build_guard: : _InputArray const & amp; , class CV: : Rect_ & lt; Double> Const & amp;) "(? Init @ Tracker @ CV @ @ QEAA_NAEBV_InputArray @ @ AEBV debug_build_guard @ 2? N @ @ @ 2 Z $Rect_ @), the symbol in the function of "private: void __cdecl VideoCap: : videoinspec (void)" (? Videoinspec @ VideoCap @ @ AEAAXXZ) referenced
1> VideoCap. Obj: error LNK2019: cannot resolve the external symbol of "public: bool __cdecl CV: : Tracker: : update (class CV: : debug_build_guard: : _InputArray const & amp; , class CV: : Rect_ & lt; Double> & amp;) "(? The update @ Tracker @ CV @ @ QEAA_NAEBV_InputArray @ @ AEAV debug_build_guard @ 2? N @ @ @ 2 Z $Rect_ @), the symbol in the function of "private: void __cdecl VideoCap: : videoinspec (void)" (? Videoinspec @ VideoCap @ @ AEAAXXZ) referenced
1> VideoCap. Obj: error LNK2019: cannot resolve the external symbol of "public: static struct CV: : Ptr __cdecl CV: : TrackerMIL: : create (void) "(? The create @ TrackerMIL @ CV @ @ SA? AU? $Ptr @ VTrackerMIL @ CV @ @ @ @ 2 XZ), the symbol in the function of "private: void __cdecl VideoCap: : videoinspec (void)" (? Videoinspec @ VideoCap @ @ AEAAXXZ) referenced
1> F: \ oy \ videotest \ VideoCap \ x64 \ Debug \ \ VideoCap exe: fatal error LNK1120: three cannot resolve the external command
1> Generating project has been completed "VideoCap vcxproj" operations - failure,
For a day or two did not effect, which master

CodePudding user response:

You don't have a good configuration opencv? This is usually caused by lack of libraries

CodePudding user response:

Didn't add corresponding Lib files?
  • Related