Note that there are some explanatory texts on larger screens.

plurals
  1. POg++ ld: symbol(s) not found for architecture x86_64
    primarykey
    data
    text
    <p>I'm trying to compile the Sam Hare's <a href="http://www.samhare.net/research/struck/code">Struck code</a>.</p> <p>I'm using mac OSX10.9, opencv 2.4.6 and Eigen 2.0.17.</p> <p>Eigen and opencv headers are stored in /opt/local/include while opencv dylib in /opt/local/lib.</p> <p>I modified the Hare's Makefile to work on this folder. When I type make on the terminal:</p> <pre><code>g++ -L/opt/local/lib -lopencv_core -lopencv_highgui -lopencv_imgproc src/Config.o src/Features.o src/HaarFeature.o src/HaarFeatures.o src/HistogramFeatures.o src/ImageRep.o src/LaRank.o src/MultiFeatures.o src/RawFeatures.o src/Sampler.o src/Tracker.o src/main.o src/GraphUtils/GraphUtils.o -o struck </code></pre> <p>I get these errors:</p> <pre><code>Undefined symbols for architecture x86_64: "cv::namedWindow(std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; const&amp;, int)", referenced from: _main in main.o "cv::split(cv::Mat const&amp;, std::__1::vector&lt;cv::Mat, std::__1::allocator&lt;cv::Mat&gt; &gt;&amp;)", referenced from: ImageRep::ImageRep(cv::Mat const&amp;, bool, bool, bool) in ImageRep.o "cv::imread(std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; const&amp;, int)", referenced from: _main in main.o "cv::imshow(std::__1::basic_string&lt;char, std::__1::char_traits&lt;char&gt;, std::__1::allocator&lt;char&gt; &gt; const&amp;, cv::_InputArray const&amp;)", referenced from: LaRank::Debug() in LaRank.o Tracker::Debug() in Tracker.o _main in main.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) </code></pre> <p>Any ideas? Thanks!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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