[PD] problems compiling pix_opencv in OSX (Was Re: pdp_opencv & pix_opencv new development)

Jack jack at rybn.org
Mon Apr 28 12:29:13 CEST 2008

Hello PD users,
When i compile opencv, i get this error on macos X.4.11, G4 powerbook :
../../../otherlibs/highgui/cvcap_qt.cpp: In function `int  
icvWriteFrame_QT(CvVideoWriter*, const IplImage*)':
../../../otherlibs/highgui/cvcap_qt.cpp:1183: warning: unused  
variable 'status'
../../../otherlibs/highgui/cvcap_qt.cpp: In function `CvVideoWriter*  
cvCreateVideoWriter_QT(const char*, int, double, CvSize, int)':
../../../otherlibs/highgui/cvcap_qt.cpp:1425: error: jump to label  
../../../otherlibs/highgui/cvcap_qt.cpp:1310: error:   from here
../../../otherlibs/highgui/cvcap_qt.cpp:1361: error:   crosses  
initialization of 'MediaType** video'
../../../otherlibs/highgui/cvcap_qt.cpp:1350: error:   crosses  
initialization of 'TrackType** video_track'
../../../otherlibs/highgui/cvcap_qt.cpp:1330: error:   crosses  
initialization of 'const __CFString* out_path'
make[3]: *** [cvcap_qt.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Any idea ?
I followed the instructions from :


Le 26 avr. 08 à 06:17, marius schebella a écrit :

> got it working!
> lluisgomez at hangar.org wrote:
>> However, when I try to load any of them PD gives me this error::
>> /Users/lluisgomezbigorda/pix_opencv/pix_opencv_edge.pd_darwin:
>> dlopen(/Users/lluisgomezbigorda/pix_opencv/pix_opencv_edge.pd_darwin,
>> 10): Symbol not found: __ZN7GemBase10isRunnableEv
>>   Referenced from:
>> /Users/lluisgomezbigorda/pix_opencv/pix_opencv_edge.pd_darwin
>>   Expected in: dynamic lookup
> I got this error too, but only when gem was not loaded. when gem is
> loaded, everything is fine.
> In order to make the opencv objects work I always had to set  
> colorspace
> RGB. otherwise, I did no see any effect. I think the default on osx is
> yuv. anyway, will test a little more. great stuff!
> marius.
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/ 
> listinfo/pd-list

More information about the Pd-list mailing list