: Re: : [MPlayer-users] MPlayer CVS Build Fails on Quartz
Martin Simmons
vyslnqaaxytp at spammotel.com
Wed Aug 17 02:00:13 CEST 2005
>>>>> On Sun, 14 Aug 2005 23:44:30 -0500, Kichigai Mentat <kichigai at comcast.net> said:
>>>>>>> On Mon, 8 Aug 2005 11:15:58 -0500, Kichigai Mentat
>>>>>>> <kichigai at comcast.net> said:
>>>>>>>
>>
>>
>>> I am attempting to build MPlayer on Mac OS X 10.4.2 using the CVS
>>> source tree. However, there appears to be a problem with the Quartz
>>> video output module. Below is the error:
>>>
>>
>>
>>> make -C libavutil LIBPREF=lib LIBSUF=.a
>>> make[1]: Nothing to be done for `all'.
>>> make -C libvo
>>> cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -mcpu=7450 -
>>> mtune=7450 -faltivec -D__APPLE_ALTIVEC__ -pipe -ffast-math -fomit-
>>> frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -
>>> DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/sw/
>>> include/ -I/usr/local/include/ -I/usr/include/ -I/sw/include/
>>> gtk-1.2 -
>>> I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include -
>>> std=gnu99 -I. -I.. -I../osdep -I/usr/X11R6/include -I/usr/X11R6/
>>> include/freetype2 -I/sw/include/SDL -D_THREAD_SAFE -I/usr/X11R6/
>>> include -I/sw/include/ -I/usr/local/include/ -I/usr/include/ -I/sw/
>>> include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/
>>> X11R6/include -DMPG12PLAY -o vo_quartz.o vo_quartz.c
>>> vo_quartz.c:55: error: parse error before "seqId"
>>> vo_quartz.c:55: warning: type defaults to 'int' in declaration of
>>> 'seqId'
>>>
>>
>> CVS snapshot 20050806 builds for me on Mac OS X 10.4.2 with gcc
>> version 4.0.0
>> 20041026 (Apple Computer, Inc. build 4061). Possibly there
>> something is wrong
>> with the QuickTime.h header file on your system?
> I doubt it. This is practically a fresh install, all I've done is
> throw on the official updates.
OK, I think the first thing is to check which QuickTime.h is being used.
Please try running the following command in your libvo directory:
cc -E -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -mcpu=7450 \
-mtune=7450 -faltivec -D__APPLE_ALTIVEC__ -pipe -ffast-math \
-fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN \
-DCONFIG_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 \
-I/sw/include/ -I/usr/local/include/ -I/usr/include/ \
-I/sw/include/gtk-1.2 -I/sw/include/glib-1.2 -I/sw/lib/glib/include \
-I/usr/X11R6/include -std=gnu99 -I. -I.. -I../osdep \
-I/usr/X11R6/include -I/usr/X11R6/include/freetype2 \
-I/sw/include/SDL -D_THREAD_SAFE -I/usr/X11R6/include -I/sw/include/ \
-I/usr/local/include/ -I/usr/include/ -I/sw/include/gtk-1.2 \
-I/sw/include/glib-1.2 -I/sw/lib/glib/include -I/usr/X11R6/include \
-DMPG12PLAY vo_quartz.c > q.txt
and then post the output from running:
grep 'QuickTime\.h' q.txt
(q.txt will be huge, but the grep output should be less than 20 lines).
__Martin
More information about the MPlayer-users
mailing list