Hello!
I am trying to get pidip 0.9.2 working but I am more or less stuck at compiling.
I can't compile libquicktime-0.9.1 it dies in plugins/xanim.
It looks some of the definitions are missing or something.
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/quicktime
-I../../include -I../../include -O3 -funroll-all-loops
-fomit-frame-pointer -malign-loops=2 -malign-jumps=2 -malign-functions=2
-finline-functions -W -Wall -Wno-unused -Winline -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c lqt_codec.c
-Wp,-MD,.deps/lqt_codec.TPlo -fPIC -DPIC -o .libs/lqt_codec.lo
lqt_codec.c: In function lqt_xanim_decode_video_1': lqt_codec.c:17: parse error before
*'
lqt_codec.c:18: trak' undeclared (first use in this function) lqt_codec.c:18: (Each undeclared identifier is reported only once lqt_codec.c:18: for each function it appears in.) lqt_codec.c:21: parse error before
*'
lqt_codec.c:24: vtrack' undeclared (first use in this function) lqt_codec.c:28:
codec' undeclared (first use in this function)
lqt_codec.c:13: warning: video_width' might be used uninitialized in this function lqt_codec.c:13: warning:
video_height' might be used uninitialized in
this function
lqt_codec.c: In function lqt_xanim_init_vcodec_1': lqt_codec.c:134: parse error before
*'
lqt_codec.c:135: trak' undeclared (first use in this function) lqt_codec.c:138: parse error before
*'
lqt_codec.c:141: codec' undeclared (first use in this function) lqt_codec.c:130: warning:
video_height' might be used uninitialized in
this function
make[4]: *** [lqt_codec.lo] Error 1
make[4]: Leaving directory /usr/src/libquicktime-0.9.1/plugins/xanim' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory
/usr/src/libquicktime-0.9.1/plugins/xanim'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /usr/src/libquicktime-0.9.1/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/usr/src/libquicktime-0.9.1'
make: *** [all] Error 2
Well I thought I'll have more luck with libquicktime-0.9.2pre1.
But it fails during compilation too, only in a different place.
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/quicktime
-I../../include -I
../../include/ -O3 -funroll-all-loops -fomit-frame-pointer
-malign-loops=2 -mali
gn-jumps=2 -malign-functions=2 -finline-functions -W -Wall -Wno-unused
-Winline
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c
ffmpeg.c -Wp
,-MD,.deps/ffmpeg.TPlo -fPIC -DPIC -o .libs/ffmpeg.lo
ffmpeg.c: In function set_parameter_video': ffmpeg.c:85: structure has no member named
quality'
ffmpeg.c:157: structure has no member named aspect_ratio_info' ffmpeg.c:159: structure has no member named
aspect_ratio_info'
ffmpeg.c:161: structure has no member named aspect_ratio_info' ffmpeg.c:163: structure has no member named
aspect_ratio_info'
ffmpeg.c:165: structure has no member named aspect_ratio_info' ffmpeg.c: In function
set_parameter_audio':ffmpeg.c:193: structure has
no member named quality'ffmpeg.c:265: structure has no member named
aspect_ratio_info'ffmpeg.c:267: structure has no member named
aspect_ratio_info'ffmpeg.c:269: structure has no member named
aspect_ratio_info'
ffmpeg.c:271: structure has no member named aspect_ratio_info' ffmpeg.c:273: structure has no member named
aspect_ratio_info'
make[3]: *** [ffmpeg.lo] Error 1
make[3]: Leaving directory
/usr/src/libquicktime-0.9.2pre1/plugins/ffmpeg' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory
/usr/src/libquicktime-0.9.2pre1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/libquicktime-0.9.2pre1'
make: *** [all] Error 2
Looks very bad. set_parameter_video and set_parameter_audio are declared in ffmpeg.c and are functions not structs. :-\
I freshly compiled and installed ffmpeg-0.4.6.
Any hints and ideas?
Take care,
Miha...
Miha Tomsic wrote:
Hello!
I am trying to get pidip 0.9.2 working but I am more or less stuck at compiling.
I can't compile libquicktime-0.9.1 it dies in plugins/xanim.
i'm using this one and the problem was that my compiler does not support something like :
a=b; // instructions
int c; // declaration
c=b;
as far as i can remember.
anyway, it's a libquicktime related problem, not pidip which uses standard C and -Werror.
cheers,
sevy/yves
Hello Yves!
On tor, 2003-03-04 at 18:37, Yves Degoyon wrote:
I can't compile libquicktime-0.9.1 it dies in plugins/xanim.
i'm using this one and the problem was that my compiler does not support something like :
This is the clue I needed.
It compiled fine with gcc-3.0.
Now back to pidip:
gcc -DPD -DX_DISPLAY_MISSING -O2 -funroll-loops -fomit-frame-pointer
-ffast-math -Wall -W -Wstrict-prototypes -Werror -Wno-unused
-Wno-parentheses -Wno-switch -DPDP_PIDIP_VERSION="0.9.2" -g
-I/usr/src/pd-0.36-0/src -I. -I/usr/src/pd-externals/pdp-0.9/include
-I/usr/src/ffmpeg-0.4.6/libavcodec -I/usr/src/ffmpeg-0.4.6/libavformat
-I../include -o pdp_ffmpeg~.o -c pdp_ffmpeg~.c
cc1: warnings being treated as errors
In file included from /usr/src/ffmpeg-0.4.6/libavformat/avformat.h:8,
from pdp_ffmpeg~.c:32:
/usr/src/ffmpeg-0.4.6/libavcodec/avcodec.h:1122: warning: function
declaration isn't a prototype
pdp_ffmpeg~.c: In function pdp_ffmpeg_feed': pdp_ffmpeg~.c:271: warning: implicit declaration of function
av_set_parameters'
pdp_ffmpeg~.c: In function pdp_ffmpeg_process_yv12': pdp_ffmpeg~.c:367: void value not ignored as it ought to be make[1]: *** [pdp_ffmpeg~.o] Error 1 make[1]: Leaving directory
/usr/src/pd-externals/pidip-0.9.2/modules'
make: *** [pdp_pidip_all] Error 2
Ani other clues?
Thanks and take care,
Miha...
yep, that's because you use ffmpeg-0.4.6, which is the latest stable release but have bugs. i'm forced to use ffmpeg cvs snapshot that you can find here : http://ffmpeg.sourceforge.net/cvs.
the link has also been fixed on my page, too many people complained about that ))
cheers,
sevy/yves
Miha Tomsic wrote:
Hello Yves!
On tor, 2003-03-04 at 18:37, Yves Degoyon wrote:
I can't compile libquicktime-0.9.1 it dies in plugins/xanim.
i'm using this one and the problem was that my compiler does not support something like :
This is the clue I needed.
It compiled fine with gcc-3.0.
Now back to pidip:
gcc -DPD -DX_DISPLAY_MISSING -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall -W -Wstrict-prototypes -Werror -Wno-unused -Wno-parentheses -Wno-switch -DPDP_PIDIP_VERSION="0.9.2" -g -I/usr/src/pd-0.36-0/src -I. -I/usr/src/pd-externals/pdp-0.9/include -I/usr/src/ffmpeg-0.4.6/libavcodec -I/usr/src/ffmpeg-0.4.6/libavformat -I../include -o pdp_ffmpeg~.o -c pdp_ffmpeg~.c cc1: warnings being treated as errors In file included from /usr/src/ffmpeg-0.4.6/libavformat/avformat.h:8, from pdp_ffmpeg~.c:32: /usr/src/ffmpeg-0.4.6/libavcodec/avcodec.h:1122: warning: function declaration isn't a prototype pdp_ffmpeg~.c: In function
pdp_ffmpeg_feed': pdp_ffmpeg~.c:271: warning: implicit declaration of function
av_set_parameters' pdp_ffmpeg~.c: In functionpdp_ffmpeg_process_yv12': pdp_ffmpeg~.c:367: void value not ignored as it ought to be make[1]: *** [pdp_ffmpeg~.o] Error 1 make[1]: Leaving directory
/usr/src/pd-externals/pidip-0.9.2/modules' make: *** [pdp_pidip_all] Error 2Ani other clues?
Thanks and take care,
Miha...