<div dir="ltr"><div dir="ltr">I removed yet another object from src/Makefile.am (the one calling '<span style="color:rgb(80,0,80)">_cvCalcGlobalOrientation')</span><div>but now, I get "no suitable image found", and "mach-o, but wrong architecture"</div><div><br></div><div><div>/Users/federicocamarahalac/Documents/Pd/externals/Gem/../pix_opencv/pix_opencv_hough_circles.pd_darwin: dlopen(/Users/federicocamarahalac/Documents/Pd/externals/Gem/../pix_opencv/pix_opencv_hough_circles.pd_darwin, 10): no suitable image found.  Did find:</div><div><span style="white-space:pre"> </span>/Users/federicocamarahalac/Documents/Pd/externals/Gem/../pix_opencv/pix_opencv_hough_circles.pd_darwin: mach-o, but wrong architecture</div><div><span style="white-space:pre">        </span>/Users/federicocamarahalac/Documents/Pd/externals/pix_opencv/pix_opencv_hough_circles.pd_darwin: mach-o, but wrong architecture</div></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 28, 2019 at 11:50 PM Federico Camara Halac <<a href="mailto:camarafede@gmail.com">camarafede@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>Thanks!</div><div><br></div><div dir="ltr">To follow up, I *think* I am linking all I can, this is from console.log:</div><div dir="ltr">...<br><div><div>LIBS='-lopencv_video -lopencv_calib3d -lopencv_objdetect -lopencv_imgproc '</div></div><div>...</div><div><div>OPENCV_LIBS='-L/usr/local/lib -lopencv_dnn -lopencv_ml -lopencv_objdetect -lopencv_shape -lopencv_stitching -lopencv_superres -lopencv_videostab -lopencv_calib3d -lopencv_features2d -lopencv_highgui -lopencv_videoio -lopencv_imgcodecs -lopencv_video -lopencv_photo -lopencv_imgproc -lopencv_flann -lopencv_core'</div></div><div>...</div><div><br></div><div>So, if i'm not underlinking, is there a way for me to see if its actually a header/library mismatch? There are no complains when it's compiling.<br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 28, 2019 at 11:14 PM IOhannes m zmölnig <<a href="mailto:zmoelnig@iem.at" target="_blank">zmoelnig@iem.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 2/28/19 9:30 PM, Federico Camara Halac wrote:<br>
> 10): Symbol not found: _cvCalcGlobalOrientation<br>
>   Referenced from:<br>
<br>
so you are underlinking, that is, not linking against a required OpenCV<br>
library.<br>
apart from the obvious reason (forgotten to link against the proper<br>
libs), there are other causes for this, like using a mismatched<br>
header/library combination.<br>
<br>
gfmrdsa<br>
IOhannes<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail-m_-3343627188604947620gmail_signature"><div dir="ltr"><a href="http://fdch.github.io/tv" target="_blank">http://fdch.github.io/tv</a></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><a href="http://fdch.github.io/tv" target="_blank">http://fdch.github.io/tv</a></div></div>