<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>i just saw your fork does have adaptions for opencv3, but it
might still be a deprecation issue. i can't build it with opencv
3.2.0, because it includes the legacy module and probably the C
api. but maybe it's just the motion module has been relocated. see
the second link<br>
</p>
<p><a class="moz-txt-link-freetext" href="http://answers.opencv.org/question/42622/opencv-30-deprecated-opencv_legacy-module/">http://answers.opencv.org/question/42622/opencv-30-deprecated-opencv_legacy-module/</a></p>
<p><a class="moz-txt-link-freetext" href="http://answers.opencv.org/question/190863/motion-detection-undefined-symbols-for-architecture-arm64/">http://answers.opencv.org/question/190863/motion-detection-undefined-symbols-for-architecture-arm64/</a></p>
<p>cheers,</p>
<p>ub<br>
</p>
<div class="moz-cite-prefix">On 28.02.19 22:15, ub wrote:<br>
</div>
<blockquote type="cite"
cite="mid:d61627d1-f558-d616-34e8-ecd212fdefdf@xdv.org">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>hey frederico,<br>
</p>
<p>you might be using a more modern major version of opencv than
is referenced from the code of pix_opencv. calling functions
this way apparently has been deprecated in opencv 3.</p>
<p>if you have opencv2 installed somewhere (as you seem to have
the headers because your build did succeed) you can force the
use of the other version library with setting
LD_LIBRARY_PATH=/path/to/opencv2 in the shell from which you
start pd.</p>
<p>hope that helps,</p>
<p>ub<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 28.02.19 21:30, Federico Camara
Halac wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAO_HSB53u+Z-Ynw26d1BnC8kaUfSyEEr9OcDgkFaERdB8_Fmew@mail.gmail.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi, </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">I compiled latest pix_opencv from my
github fork, but I have linking problems.</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">I am on macos 10.14.2, mojave</div>
<div dir="ltr"><br>
</div>
<div>Using `lipo -info`, all of pd, Gem.pd_darwin,
pix_opencv.pd_darwin and libopencv_*.dylib show as:
"Non-fat file ... architecture: x86_64"</div>
<div dir="ltr"><br>
</div>
<div dir="ltr">
<div>
<div>This is the error on the console:</div>
<div><br>
</div>
<div>
<div>GEM: Graphics Environment for Multimedia</div>
<div>GEM: ver: 0.94.git v0.94_pre1</div>
<div>...</div>
<div>
<div>error:
/Users/federicocamarahalac/Documents/pix_opencv/pix_opencv.pd_darwin:
dlopen(/Users/federicocamarahalac/Documents/pix_opencv/pix_opencv.pd_darwin,
10): Symbol not found:
_cvCalcGlobalOrientation</div>
<div> Referenced from:
/Users/federicocamarahalac/Documents/pix_opencv/pix_opencv.pd_darwin</div>
<div> Expected in: flat namespace</div>
<div> in
/Users/federicocamarahalac/Documents/pix_opencv/pix_opencv.pd_darwin</div>
<div>not reloading 'image' plugins (already 5
loaded)</div>
<div> pix_opencv_contours</div>
<div>error: ... couldn't create</div>
</div>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Any pointers would be appreciated.</div>
<div><br>
</div>
<div>thanks,</div>
<div><br>
</div>
<div>fede</div>
<div><br>
</div>
<div><br>
</div>
-- <br>
<div dir="ltr"
class="gmail-m_-9011376278788044803gmail_signature">
<div dir="ltr"><a href="http://fdch.github.io/tv"
target="_blank" moz-do-not-send="true">http://fdch.github.io</a></div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at" moz-do-not-send="true">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list" moz-do-not-send="true">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
</body>
</html>