Note that there are some explanatory texts on larger screens.

plurals
  1. POTrying to use my project with external opencv
    text
    copied!<p>I'm attaching some external libraries to my project in C++. These libraries make use of the opencv2 libraries.</p> <p>I already added the opencv2 include files to my c/c++ properties. I also added all the relevant lib files which I googled and found to the Linker input list. (I'm running the release version, but I also tried the debug version with the "d" extension).</p> <ul> <li>opencv_core230.lib</li> <li>opencv_highgui230.lib</li> <li>opencv_objdetect230.lib</li> <li>opencv_imgproc230.lib</li> <li>opencv_ml230.lib</li> <li>opencv_legacy230.lib</li> <li>opencv_video230.lib</li> </ul> <p>I'm getting these 4 annoying linking problems regarding the <code>setSVMDetector@HOGDescriptor</code>. I looked everywhere for a solution and couldn't find one.; no one really uses the setSVM function in the external program.</p> <p>Here are the linking problems:</p> <pre><code>Error 14 error LNK2001: unresolved external symbol "public: virtual void __thiscall cv::HOGDescriptor::setSVMDetector(class cv::_InputArray const &amp;)" (?setSVMDetector@HOGDescriptor@cv@@UAEXABV_InputArray@2@@Z) C:\Users\idan\Documents\Visual Studio 2010\GraspTestingTool\GraspTestingTool\GraspTestingTool.obj GraspTestingTool Error 15 error LNK2001: unresolved external symbol "public: virtual void __thiscall cv::HOGDescriptor::setSVMDetector(class cv::_InputArray const &amp;)" (?setSVMDetector@HOGDescriptor@cv@@UAEXABV_InputArray@2@@Z) C:\Users\idan\Documents\Visual Studio 2010\GraspTestingTool\GraspTestingTool\htmlGenerator.obj GraspTestingTool Error 16 error LNK2001: unresolved external symbol "public: virtual void __thiscall cv::HOGDescriptor::setSVMDetector(class cv::_InputArray const &amp;)" (?setSVMDetector@HOGDescriptor@cv@@UAEXABV_InputArray@2@@Z) C:\Users\idan\Documents\Visual Studio 2010\GraspTestingTool\GraspTestingTool\sequenceTests.obj GraspTestingTool Error 17 error LNK2001: unresolved external symbol "public: virtual void __thiscall cv::HOGDescriptor::setSVMDetector(class cv::_InputArray const &amp;)" (?setSVMDetector@HOGDescriptor@cv@@UAEXABV_InputArray@2@@Z) C:\Users\idan\Documents\Visual Studio 2010\GraspTestingTool\GraspTestingTool\Utilities.obj GraspTestingTool </code></pre> <p>Does anyone know how to solve this issue? Thanks a lot!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload