lluisgomez@hangar.org wrote:
please, can post what versions of (gem and pd) are you using?
I am using cvs version from 04/16. do you want me to put it online? these dynamic lib errors seem to be new to gem? at least I did not notice them before. maybe some libraries are not statically linked? don't know.
marius, i have two strange behaviors with pix_opencv (probably bugs but as my camera don't work with gem i can't test them well), can you test them and report please ::
you're having problems on osx with the isight?
1.- strange behavior in pix_opencv_haarcascade, it uses the same code as pdp_opencv_haarcascade but it doesn?t show the same result.
I have not tested pdp_opencv yet, yesterday I only looked at pix_opencv, I tried to compile pdp_opencv, but again, get errors. gcc -I/Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include -DPD -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -O2 -funroll-loops -fomit-frame-pointer -ffast-math -g -freg-struct-return -Wstrict-prototypes -DPDP_CV_VERSION="0.0.1" -I. -I/usr/X11R6/include -I../include -I../../include -I/Users/marius/devel/pd-rsync/pd-extended/pd/src -I/usr/local/include/opencv/ -L/usr/local/lib -lcxcore -lcv -lhighgui -lcvaux -lml -o pdp_opencv_threshold.o -c pdp_opencv_threshold.c In file included from /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp.h:41, from pdp_opencv_threshold.c:28: /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_types.h:50: error: two or more data types in declaration specifiers /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_types.h:50: warning: useless type name in empty declaration In file included from /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp.h:41, from pdp_opencv_threshold.c:28: /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_types.h:51:1: warning: "true" redefined In file included from /usr/include/dlfcn.h:40, from pdp_opencv_threshold.c:26: /usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdbool.h:37:1: warning: this is the location of the previous definition In file included from /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp.h:41, from pdp_opencv_threshold.c:28: /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_types.h:52:1: warning: "false" redefined In file included from /usr/include/dlfcn.h:40, from pdp_opencv_threshold.c:26: /usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdbool.h:38:1: warning: this is the location of the previous definition In file included from /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp.h:80, from pdp_opencv_threshold.c:28: /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:25:27: error: gsl/gsl_block.h: No such file or directory /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:26:28: error: gsl/gsl_vector.h: No such file or directory /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:27:28: error: gsl/gsl_matrix.h: No such file or directory /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:28:26: error: gsl/gsl_blas.h: No such file or directory /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:29:29: error: gsl/gsl_linalg.h: No such file or directory In file included from /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp.h:80, from pdp_opencv_threshold.c:28: /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:44: error: syntax error before ‘gsl_block’ /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:44: warning: no semicolon at end of struct or union /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:45: warning: type defaults to ‘int’ in declaration of ‘vector’ /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:45: warning: data definition has no type or storage class /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:46: error: syntax error before ‘matrix’ /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:46: warning: type defaults to ‘int’ in declaration of ‘matrix’ /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:46: warning: data definition has no type or storage class /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:47: error: syntax error before ‘perm’ /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:47: warning: type defaults to ‘int’ in declaration of ‘perm’ /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:47: warning: data definition has no type or storage class /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:51: error: syntax error before ‘}’ token /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:51: warning: type defaults to ‘int’ in declaration of ‘t_matrix’ /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:51: warning: data definition has no type or storage class /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:65: error: syntax error before ‘TransA’ /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:65: warning: function declaration isn’t a prototype /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:80: error: syntax error before ‘TransA’ /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:82: warning: function declaration isn’t a prototype /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:84: error: syntax error before ‘TransA’ /Users/marius/devel/pd-rsync/pd-extended/externals/pdp/include/pdp_matrix.h:86: warning: function declaration isn’t a prototype In file included from /usr/local/include/opencv/cv.h:1233, from pdp_opencv_threshold.c:31: /usr/local/include/opencv/cvcompat.h: In function ‘cvMinAreaRect’: /usr/local/include/opencv/cvcompat.h:425: warning: statement with no effect make: *** [pdp_opencv_threshold.o] Error 1
2.- pix_opencv_contours_boundingrect works only in RGBA pixes?
hmm, yes, when I try it with pix_grey, pd crashes. marius.