_______________________________________________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
http://answers.opencv.org/question/42622/opencv-30-deprecated-opencv_legacy-module/
http://answers.opencv.org/question/190863/motion-detection-undefined-symbols-for-architecture-arm64/
cheers,
ub
On 28.02.19 22:15, ub wrote:
hey frederico,
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.
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.
hope that helps,
ub
On 28.02.19 21:30, Federico Camara Halac wrote:
Hi,
I compiled latest pix_opencv from my github fork, but I have linking problems.
I am on macos 10.14.2, mojave
Using `lipo -info`, all of pd, Gem.pd_darwin, pix_opencv.pd_darwin and libopencv_*.dylib show as: "Non-fat file ... architecture: x86_64"
This is the error on the console:
GEM: Graphics Environment for MultimediaGEM: ver: 0.94.git v0.94_pre1...error: /Users/federicocamarahalac/Documents/pix_opencv/pix_opencv.pd_darwin: dlopen(/Users/federicocamarahalac/Documents/pix_opencv/pix_opencv.pd_darwin, 10): Symbol not found: _cvCalcGlobalOrientationReferenced from: /Users/federicocamarahalac/Documents/pix_opencv/pix_opencv.pd_darwinExpected in: flat namespacein /Users/federicocamarahalac/Documents/pix_opencv/pix_opencv.pd_darwinnot reloading 'image' plugins (already 5 loaded)pix_opencv_contourserror: ... couldn't create
Any pointers would be appreciated.
thanks,
fede
--
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list