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 Multimedia GEM: 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: _cvCalcGlobalOrientation Referenced from: /Users/federicocamarahalac/Documents/pix_opencv/pix_opencv.pd_darwin Expected in: flat namespace in /Users/federicocamarahalac/Documents/pix_opencv/pix_opencv.pd_darwin not reloading 'image' plugins (already 5 loaded) pix_opencv_contours error: ... couldn't create
Any pointers would be appreciated.
thanks,
fede
-- http://fdch.github.io http://fdch.github.io/tv
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list