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
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