GNOME Bugzilla – Bug 598078
osxvideosrc doesn't build in snow leopard x86_64
Last modified: 2011-05-23 12:54:56 UTC
Trying to build osxvideosrc in snow leopard x86_64 failed due undefined type. osxvideosrc.h:54: error: expected specifier-qualifier-list before ‘SeqGrabComponent’ Digging the web it seems that have to be used a framework called QTKit. I don't have enough knowledge to try to fix it so opening a bug.
All the quicktime-related elements in gstreamer will presumably not work in 64 bit builds. The correct fix for this is to improve the autoconf stuff to disable these elements where quicktime is not available.
I am pretty sure that I have come across the same problem. I installed the following packages using MacPorts: gst-plugins-base @0.10.25 gnome/gst-plugins-base gstreamer @0.10.25 gnome/gstreamer I then tried to build gst-plugins-bad. The compile process failed with the following error: Command output: osxvideosrc.c:1230: error: dereferencing pointer to incomplete type osxvideosrc.c:1231: warning: implicit declaration of function 'GetPixRowBytes' osxvideosrc.c:1232: warning: implicit declaration of function 'GetPixBaseAddr' osxvideosrc.c:1232: warning: assignment makes pointer from integer without a cast osxvideosrc.c:1236: error: dereferencing pointer to incomplete type osxvideosrc.c:1252: error: dereferencing pointer to incomplete type osxvideosrc.c:1253: error: dereferencing pointer to incomplete type osxvideosrc.c:1253: error: dereferencing pointer to incomplete type osxvideosrc.c:1254: error: dereferencing pointer to incomplete type osxvideosrc.c:1255: error: dereferencing pointer to incomplete type osxvideosrc.c:1255: error: dereferencing pointer to incomplete type osxvideosrc.c:1255: error: dereferencing pointer to incomplete type osxvideosrc.c:1255: error: dereferencing pointer to incomplete type osxvideosrc.c:1257: error: dereferencing pointer to incomplete type osxvideosrc.c:1259: warning: implicit declaration of function 'UnlockPixels' osxvideosrc.c: In function 'prepare_capture': osxvideosrc.c:1269: warning: implicit declaration of function 'SGSetChannelUsage' osxvideosrc.c:1269: error: dereferencing pointer to incomplete type osxvideosrc.c:1269: error: 'seqGrabRecord' undeclared (first use in this function) osxvideosrc.c:1275: warning: implicit declaration of function 'SGSetDataProc' osxvideosrc.c:1275: error: dereferencing pointer to incomplete type osxvideosrc.c:1275: warning: implicit declaration of function 'NewSGDataUPP' osxvideosrc.c:1281: warning: implicit declaration of function 'SGPrepare' osxvideosrc.c:1281: error: dereferencing pointer to incomplete type make[3]: *** [libgstosxvideosrc_la-osxvideoplugin.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [libgstosxvideosrc_la-osxvideosrc.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Apple discusses the replacement for the GetPixRowBytes function at: http://lists.apple.com/archives/Carbon-dev/2009/May/msg00263.html
For reference, see also https://trac.macports.org/ticket/21996.
*** Bug 602250 has been marked as a duplicate of this bug. ***
*** Bug 602584 has been marked as a duplicate of this bug. ***
This was fixed a while ago commit aff35e5e65c851f407385cb0b1f5be161d581d02 Author: Alessandro Decina <alessandro.d@gmail.com> Date: Fri Jan 22 10:46:51 2010 +0100 Don't build osxvideosrc and qtwrapper in Snow Leopard. QuickTime isn't available anymore in OS X Snow Leopard.
*** Bug 598079 has been marked as a duplicate of this bug. ***