After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 598078 - osxvideosrc doesn't build in snow leopard x86_64
osxvideosrc doesn't build in snow leopard x86_64
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Mac OS
: Normal major
: 0.10.21
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 598079 602250 602584 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-10-11 13:37 UTC by Josep Torra Valles
Modified: 2011-05-23 12:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Josep Torra Valles 2009-10-11 13:37:50 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.
Comment 1 Michael Smith 2009-10-12 17:14:08 UTC
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.
Comment 2 W. Michael Petullo 2010-02-20 15:42:48 UTC
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
Comment 3 W. Michael Petullo 2010-02-20 15:46:40 UTC
For reference, see also https://trac.macports.org/ticket/21996.
Comment 4 Tim-Philipp Müller 2010-04-09 11:51:38 UTC
*** Bug 602250 has been marked as a duplicate of this bug. ***
Comment 5 Tim-Philipp Müller 2010-04-09 11:51:48 UTC
*** Bug 602584 has been marked as a duplicate of this bug. ***
Comment 6 Alessandro Decina 2010-12-09 11:23:44 UTC
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.
Comment 7 Sebastian Dröge (slomo) 2011-05-23 12:54:56 UTC
*** Bug 598079 has been marked as a duplicate of this bug. ***