About visualStudio openframeworks

Asked 1 years ago, Updated 1 years ago, 140 views

I'm trying to do facial synthesis with openframeworks, but the error below doesn't work

2>ContourFinder.obj : error LNK2019: 未解決の外部シンボル "float __cdecl ofxCv::trackingDistance(class cv::Rect_ const &,class cv::Rect_ const &)" (?trackingDistance@ofxCv@@YAMABV?$Rect_@H@cv@@0@Z) が関数 "public: virtual class std::vector > const & __thiscall ofxCv::Tracker >::track(class std::vector,class std::allocator > > const &)" (?track@?$Tracker@V?$Rect_@H@cv@@@ofxCv@@UAEABV?$vector@IV?$allocator@I@std@@@std@@ABV?$vector@V?$Rect_@H@cv@V?$allocator@V?$Rect_@H@cv@@@std@@@@4@@@@Z).

2>ObjectFinder.obj:error LNK2001: The external symbol "float__cdecl ofxCv::trackingDistance(class cv::Rect_const&, class cv::Rect_const&)"(?trackingDistance@ofxCv@YAMABV?$Rect_@H@cv@0@)" is unresolved.

2>bin\day4_debug.exe: fatal error LNK1120: 1 unresolved external reference

I don't know how to correct the above error.
If you don't mind, please let me know in detail.

c++ visual-studio openframeworks

2022-09-30 19:40

1 Answers

The error message itself is a relatively common misconfiguration of the linker.
There is a high possibility that the path setting of the library file you are using is incorrect.
Why don't you review the path settings?


2022-09-30 19:40

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.