jBlog

Home page > OpenCV > Native port of OpenCV - follow-up

Native port of OpenCV - follow-up

Friday 7 October 2005, by Jean-Baptiste Le Stang

The iSigth is @ home since yesterday, I’ve been able so far to make it work in iChat flawlessy, but also with BTV Carbon , I was able to record a movie. I ’ve then started to read some sample codes provided by Apple and was able to record by myself a stream coming from the iSight. I also have made a few progress in porting highgui, I can create and manage windows (create & destroy). I’m also able to display the stream coming from the iSight into a window. I’m now trying to interface the data coming from the camera to a suitable data for OpenCV. I also discovered that i’ll have to rewrite a significant part of all the saving functions for images, I thought that they where written in OpenCV but I was wrong, they depends on a third-party library but Mac OS X should be able to do all this for me easily.

14 Forum messages

  • > Native port of OpenCV - follow-up 25 November 2005 06:01, by Ilan

    I am trying to compile the OpenCV on my iMac and getting lots of errors. Do you have xCode project that includes all OpenCV sources and that can be compiled?

    Thanks.

    Reply to this message

    • > Native port of OpenCV - follow-up 26 November 2005 09:21, by Jean-Baptiste LE STANG

      Hello, I’ve uploaded a version of my xCode project, you can dowload it and use t (at your own risk). HIGHGUI is still messy and will not be working, the other librairies should be working just fine.

      See online : OpenCV xCode project

      Reply to this message

      • > Native port of OpenCV - follow-up 3 December 2005 00:18

        Thanks.

        Trying it right now...

        Reply to this message

      • > Native port of OpenCV - follow-up 3 December 2005 15:41

        Thanks.

        I have managed to compile the XCode project. But none of the example could run...

        Ilan.

        Reply to this message

        • > Native port of OpenCV - follow-up 8 December 2005 08:42, by Jean-Baptiste LE STANG

          Either you shold launch the samples from Xcode or you shoulc copy all the frameworks generated by XCode (cvaux, cxcore, higghgui, ...) to /Frameworks/ (Create the folder if it does not exist).

          Reply to this message

          • > Native port of OpenCV - follow-up 20 December 2005 04:07, by SFS

            hi,

            I’m trying to compile the frameworks under xcode 2.0 (Tiger) with errors in cvcalibration.cpp, the compilation of cv and cxcore was sucessful though, no of the sample apps is being built,

            Native Build of Target "cv" using Build Style "Development"

            CompileC build/OpenCVX.build/cv.build/Objects-normal/ppc/cvcalibration.o cvcalibration.cpp normal ppc c++ com.apple.compilers.gcc.3_3 cd /Users/local/Documents/pscape/software/OpenCVX /usr/bin/gcc-3.3 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -fmessage-length=0 -ffix-and-continue -mcpu=G5 -mtune=G5 -mpowerpc64 -Wp,-header-mapfile,/Users/local/Documents/pscape/software/OpenCVX/build/OpenCVX.b uild/cv.build/cv.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/local/Documents/pscape/software/OpenCVX/build -F/Users/jeanbaptiste/OpenCVX -I/Users/local/Documents/pscape/software/OpenCVX/build/include -I/Users/local/Documents/pscape/software/OpenCVX/build/OpenCVX.build/cv .build/DerivedSources -include /Users/local/Documents/pscape/software/OpenCVX/build/OpenCVX.build/Sha redCaches/Carbon-cqgnnuxqtvlyvadenwloenqpvkiy/Carbon.h -c /Users/local/Documents/pscape/software/OpenCVX/cvcalibration.cpp -o /Users/local/Documents/pscape/software/OpenCVX/build/OpenCVX.build/cv. build/Objects-normal/ppc/cvcalibration.o /Users/local/Documents/pscape/software/OpenCVX/cvcalibration.cpp: In function `void cvFindHomography(const CvMat*, const CvMat*, CvMat*)’: /Users/local/Documents/pscape/software/OpenCVX/cvcalibration.cpp:227: error: `_L’ undeclared (first use this function) /Users/local/Documents/pscape/software/OpenCVX/cvcalibration.cpp:227: error: (Each undeclared identifier is reported only once for each function it appears in.) /Users/local/Documents/pscape/software/OpenCVX/cvcalibration.cpp: In function `void icvInitIntrinsicParams2D(const CvMat*, const CvMat*, const CvMat*, CvSize, CvMat*, double)’: /Users/local/Documents/pscape/software/OpenCVX/cvcalibration.cpp:1242: error: `_A’ undeclared (first use this function)

            Cheers, SFS

            Reply to this message

            • > Native port of OpenCV - follow-up 22 December 2005 08:52, by Jean-Baptiste LE STANG

              I did not have the time to look at OpenCV on Tiger, and I do not expect to try it under Tiger before the end of January, from what it look from here, seems like _A and _L are conflicting, try renaming those variables to something like _LA and _LL, tahy are some conflicts with the compiler and the micro-processors registers I think.

              Reply to this message

            • > Native port of OpenCV - follow-up 22 December 2005 08:52, by Jean-Baptiste LE STANG

              I did not have the time to look at OpenCV on Tiger, and I do not expect to try it under Tiger before the end of January, from what it look from here, seems like _A and _L are conflicting, try renaming those variables to something like _LA and _LL, they are some conflicts with the compiler and the micro-processors registers I think.

              Reply to this message

              • > Native port of OpenCV - follow-up 1 February 2006 22:40

                Well i ve got the same error, i tryed -LL and -LA but it s the samething....doesn t work... did you manage to make it work under tiger ??

                thanks a lot

                Guillaume

                Reply to this message

                • > Native port of OpenCV - follow-up 2 February 2006 08:34

                  Not yet, I’m still on Panther and it seems like a native port of OpenCV will be integrated in the OpenCV project so I will have to think again about how to develop this project in this direction.

                  Reply to this message

                  • > Native port of OpenCV - follow-up 2 February 2006 16:42, by Leon v. Tippelskirch

                    Do you know where the native port which will be integrated is developed? So maybe i can grab a cvs checkout and use this. Great Work Greetings vom Northern Ireland

                    Reply to this message

                    • > Native port of OpenCV - follow-up 3 February 2006 08:35, by Jean-Baptiste LE STANG

                      Well nothing is integrated yet in the official OpenCV cvs repository, an X11 version can be checkouted but not a native port.

                      Reply to this message

                      • Hey there,

                        I was using OpenCV on my iBook with Xcode 2.2. I needed to capture from a camera (and also to control the pan-tilt-zoom camera using a serial port) and since I couldn’t find really too much, I implemented a simple capture class (I didn’t include it into OpenCV) using QuickTime. It worked well for me .. thus I was wondering wether this code might be of use for your porting project? If so, give me a shout (you can send me an email via www.alexklaeser.de).

                        best regards Alex

                        Reply to this message

  • > Native port of OpenCV - follow-up 1 March 2006 01:11, by cathy

    Hi, this is great. I’m trying to compile the project with Xcode 2.2 and I’m having the same error others have described. _L and _A are undeclared. I wonder if anyone’s managed to figure out this error?

    I’m trying to incorporate OpenCV into my QuickTime project. If anyone knows of any good resources, drop me a line (catshive[at]gmail.com).

    Thanks, Cathy

    Reply to this message

Reply to this article

SPIP | template | | Site Map | Follow-up of the site's activity RSS 2.0