ola, koray,
i never had these errors with the new framework, really. don't you have two rameworks installed and something gets confused?
cvCvtPixToPlane is a very basic opencv function that should be there
salut! sevy
Koray Tahiroglu wrote:
hi Yves,
your binaries work all good for pd 0.41.4 extended, I compiled earlier opencv with -arch i386 flags, still it gave me wrong architecture error, but now I changed the framework, it works fine. Thanks Yves.
I tried to compile pix_opencv for pd extended 0.42 on mac osx 10.6, configured with CPPFLAGS="-arch i386" LDFLAGS="-arch i386" and added -arch i386 to makefile, so no more wrong architecture errors, but I got the below ones. pix_opencv src is from http://giss.tv/pd-opencv/pix_opencv-0.2-rc5.tar.gz
I will work on this later, but if you can help, that would be great!!
g++ -fPIC -DPD -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall -W -Wno-unused -Wno-parentheses -Wno-switch -DGEM_OPENCV_VERSION="0.2" -g -arch i386 -DDARWIN -I/Users/korayt/PDDEV/pd-extended/0.42/pd/src -I. -I/Users/korayt/PDDEV/pd-extended/0.42/Gem/src -I/Users/korayt/PDDEV/pd-extended/0.42/pd/src -I/Library/Frameworks/OpenCV.framework/Headers/ -o pix_opencv_laplace.o -c pix_opencv_laplace.cc pix_opencv_laplace.cc: In member function ‘virtual void pix_opencv_laplace::processRGBAImage(imageStruct&)’: pix_opencv_laplace.cc:107: error: ‘cvCvtPixToPlane’ was not declared in this scope pix_opencv_laplace.cc:113: error: ‘cvCvtPlaneToPix’ was not declared in this scope pix_opencv_laplace.cc: In member function ‘virtual void pix_opencv_laplace::processRGBImage(imageStruct&)’: pix_opencv_laplace.cc:151: error: ‘cvCvtPixToPlane’ was not declared in this scope pix_opencv_laplace.cc:157: error: ‘cvCvtPlaneToPix’ was not declared in this scope pix_opencv_laplace.cc: In member function ‘virtual void pix_opencv_laplace::processGrayImage(imageStruct&)’: pix_opencv_laplace.cc:201: error: ‘cvCvtPixToPlane’ was not declared in this scope pix_opencv_laplace.cc:207: error: ‘cvCvtPlaneToPix’ was not declared in this scope make: *** [pix_opencv_laplace.o] Error 1
Koray.
On Jun 15, 2010, at 1:34 AM, ydegoyon@gmail.com mailto:ydegoyon@gmail.com wrote:
ola,
i could compile pix_opencv and pdp_opencv ( thanks to Max Neupert ) on a 10.6.3 OSX machine today, it is compiled for pd 0.41.4 extended as this was what i needed, but it could be easily compiled for 0.42.5...
you can find the binaries and the installation instructions here : http://www.hangar.org/wikis/lab/doku.php?id=start:puredata_opencv
i didn't have much compilation errors with an OpenCV framework downloaded from : http://www.ient.rwth-aachen.de/cms/software/opencv/ ( maybe your version is too old ? )
but i had the problem of the architecture that i fixed by adding -arch i386 in the CPPFLAGS and LDFLAGS in Makefile,in...
suerte, sevy
Koray Tahiroglu wrote:
Hi Yves, Adityo
I did compile openCV on Mac OSX 10.6 but no success for making pix_opencv to run in Pd. besides the ...: mach-o, but wrong architecture error I get in Pd, I also get following types of error while compiling pix_opencv, ..... pix_opencv_laplace.cc:107: error: ‘cvCvtPixToPlane’ was not declared in this scope
We definitely need full functioning OpenCV.framework for Mac OSX 10.6 and all the pix_opencv objects running in Pd with quicktime support.
Best,
Koray
On Jun 13, 2010, at 1:00 PM, pd-list-request@iem.at mailto:pd-list-request@iem.at wrote:
Message: 2 Date: Sun, 13 Jun 2010 05:44:47 +0200 From: "ydegoyon@gmail.com mailto:ydegoyon@gmail.com" <ydegoyon@gmail.com mailto:ydegoyon@gmail.com> Subject: Re: [PD] pix_opencv and pdp_opencv for Mac OSX 10.6 ??? To: Adityo Pratomo <quietdidit@gmail.com mailto:quietdidit@gmail.com>, PD List <pd-list@iem.at mailto:pd-list@iem.at> Message-ID: <4C14542F.3050303@gmail.com mailto:4C14542F.3050303@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
yeh, mate,
try to build it too... i had an access to an OSX 10.6 machine, thanx to very nice people like Max Neupert
but you can try it also, two cooks doesn't spoil the software ( although they could apoil the dish )
salaaaam, sevy
ps: it's for a friend in cairo : http://www.hangar.org/wikis/lab/doku.php?id=start:arabic_ascii_face, try this patch then...
Adityo Pratomo wrote:
hi Yves, do you still need this? I can build it if you want.
Thanks and Regards,
Didit
On Fri, Jun 11, 2010 at 11:06 PM, ydegoyon@gmail.com mailto:ydegoyon@gmail.com mailto:ydegoyon@gmail.com <ydegoyon@gmail.com mailto:ydegoyon@gmail.com mailto:ydegoyon@gmail.com> wrote:
hello,
a remote friend needs these libraries for Mac OSX 10.6 Leopard, does anybody compiled them on such a machine, following the instructions from : http://www.hangar.org/wikis/lab/doku.php?id=start:puredata_opencv ??
( i hope the instructions are right, it was only tested on OSX 10.5 )
unfortunately, we don't have such a machine to compile here.
or Hans, is there a way to have remote access to such a platform?
salaam, sevy
Pd-list@iem.at mailto:Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- mataharipertama.wordpress.com http://mataharipertama.wordpress.com/ <http://mataharipertama.wordpress.com http://mataharipertama.wordpress.com/> kotakmakan.multiply.com http://kotakmakan.multiply.com/ <http://kotakmakan.multiply.com http://kotakmakan.multiply.com/>
M.Koray Tahiroğlu Media Lab, Aalto University, School of Art and Design http://mlab.taik.fi/~korayt http://mlab.taik.fi/%7Ekorayt tel: +358 45 233 6272
M.Koray Tahiroğlu Media Lab, Aalto University, School of Art and Design http://mlab.taik.fi/~korayt http://mlab.taik.fi/%7Ekorayt tel: +358 45 233 6272