apologies for postin stupid "help" messages without any compiler output!
I'm trying to compile pidip with ffmpeg on a Fedora Core 1 machine. All the libraries are found, and I have got this far - pdp_live~ will not compile - the compiler says that codec_type is not in a struct, but I checked avcodec.h (from ffmpeg) and it is! ...compiler output follows:
If anyone has any idea what's going on, please let me know. I've been hacking this for 2 days now!
gcc -I/usr/X11R6/include -g -O2 -Wall -pthread -DPD -DX_DISPLAY_MISSING -O2 -funroll-loops -fomit-frame-pointer -ffast-math -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -DPDP_PIDIP_VERSION="0.12.19" -g -I/root/software/pd-src/pd-0.39-0/src -I. -I/root/software/pd-src/tempext/externals/pdp/include -I../include -I../charmaps -I/root/software/pd-src/for_pidip/ffmpeg/libavcodec -I/root/software/pd-src/for_pidip/ffmpeg/libavformat -o pdp_live~.o -c pdp_live~.c
pdp_live~.c: In function `pdp_live_decode_packet':
pdp_live~.c:280: error: request for member `codec_type' in something not a structure or union
pdp_live~.c:290: warning: passing arg 1 of `avcodec_decode_audio' from incompatible pointer type
pdp_live~.c:290: warning: passing arg 3 of `avcodec_decode_audio' from incompatible pointer type
pdp_live~.c:320: error: request for member `channels' in something not a structure or union
pdp_live~.c:321: error: request for member `sample_rate' in something not a structure or union
pdp_live~.c:325: error: request for member `channels' in something not a structure or union
pdp_live~.c:327: error: request for member `sample_rate' in something not a structure or union
pdp_live~.c:332: error: request for member `channels' in something not a structure or union
pdp_live~.c:358: error: request for member `width' in something not a structure or union
pdp_live~.c:359: error: request for member `height' in something not a structure or union
pdp_live~.c:361: error: request for member `frame_rate' in something not a structure or union
pdp_live~.c:368: warning: passing arg 1 of `avcodec_decode_video' from incompatible pointer type
pdp_live~.c:368: warning: passing arg 3 of `avcodec_decode_video' from incompatible pointer type
pdp_live~.c:369: error: request for member `pix_fmt' in something not a structure or union
pdp_live~.c:372: error: request for member `pix_fmt' in something not a structure or union
pdp_live~.c:407: error: request for member `width' in something not a structure or union
pdp_live~.c:408: error: request for member `height' in something not a structure or union
pdp_live~.c: In function `pdp_live_connect_to_url':
pdp_live~.c:547: error: structure has no member named `frame_rate'
pdp_live~.c:588: error: request for member `codec_type' in something not a structure or union
pdp_live~.c:592: error: request for member `codec_type' in something not a structure or union
pdp_live~.c:595: error: request for member `codec_id' in something not a structure or union
pdp_live~.c:595: error: request for member `bit_rate' in something not a structure or union
pdp_live~.c:597: error: request for member `sample_rate' in something not a structure or union
pdp_live~.c:597: error: request for member `channels' in something not a structure or union
pdp_live~.c:600: error: request for member `codec_type' in something not a structure or union
pdp_live~.c:603: error: request for member `codec_id' in something not a structure or union
pdp_live~.c:604: error: request for member `bit_rate' in something not a structure or union
pdp_live~.c:606: error: request for member `frame_rate' in something not a structure or union
pdp_live~.c:607: error: request for member `width' in something not a structure or union
pdp_live~.c:608: error: request for member `height' in something not a structure or union
pdp_live~.c:618: error: request for member `codec_id' in something not a structure or union
pdp_live~.c:628: warning: passing arg 1 of `avcodec_open' from incompatible pointer type
pdp_live~.c: In function `pdp_live_disconnect':
pdp_live~.c:707: warning: passing arg 1 of `avcodec_close' from incompatible pointer type
pdp_live~.c: In function `pdp_live_perform':
pdp_live~.c:862: warning: passing arg 2 of `pdp_packet_pass_if_valid' from incompatible pointer type
make: *** [pdp_live~.o] Error 1
Compilation exited abnormally with code 2 at Fri Sep 30 13:34:41
-> -> --> ---> -----> --------> -------------> r3search + praktik EK5perimenz
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre.
Ed Kelly wrote:
apologies for postin stupid "help" messages without any compiler output!
I'm trying to compile pidip with ffmpeg on a Fedora Core 1 machine. All the libraries are found, and I have got this far - pdp_live~ will not compile - the compiler says that codec_type is not in a struct, but I checked avcodec.h (from ffmpeg) and it is! ...compiler output follows:
If anyone has any idea what's going on, please let me know. I've been hacking this for 2 days now!
which ffmpeg-version are you using ? in the latest CVS i recently noticed, that they changed some fields from pointers to non-pointers and the like.
since yves seems to not support ffmpeg any more, i suggest you check out a revision of ffmpeg that was valid when yves last made any changes to pdp_live~.c (cvs log says 2005/01/02)
mfg.as.dr IOhannes
Quoting IOhannes m zmoelnig zmoelnig@iem.at:
Ed Kelly wrote:
apologies for postin stupid "help" messages without any compiler output!
I'm trying to compile pidip with ffmpeg on a Fedora Core 1 machine. All the libraries are found, and I have got this far - pdp_live~ will not compile - the compiler says that codec_type is not in a struct, but I checked avcodec.h (from ffmpeg) and it is! ...compiler output follows:
If anyone has any idea what's going on, please let me know. I've been hacking this for 2 days now!
which ffmpeg-version are you using ? in the latest CVS i recently noticed, that they changed some fields from pointers to non-pointers and the like.
since yves seems to not support ffmpeg any more, i suggest you check out a revision of ffmpeg that was valid when yves last made any changes to pdp_live~.c (cvs log says 2005/01/02)
yes, good answer, that's basically the situation.
you can use this ffmpeg that will work too : http://tdegoyon.free.fr/ffmpeg-cvs-2003-03-04.tar.gz
and wish you good luck.
cheers, sevy
mfg.as.dr IOhannes
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks /ohannes,
It has another problem since I went back to an old version, but I got on the ffmpeg mailing list looking for a cvs from about then.
It becomes impossible when a package depends on another package, constantly changing, with few if any releases (i.e. ffmpeg). So if I can get it to work just once I will be able to make archives.
[OT]Hope you are well. How is Graz? Best, Ed
compiler output pdp_live~.c: In function 'pdp_live_frame_cold': pdp_live~.c:202: error: 'AVSEEK_FLAG_BACKWARD' undeclared (first use in this function) ...etc. pdp_live~.c:203: error: too many arguments to function 'av_seek_frame'
--- IOhannes m zmoelnig zmoelnig@iem.at wrote:
Ed Kelly wrote:
apologies for postin stupid "help" messages
without any compiler output!
I'm trying to compile pidip with ffmpeg on a
Fedora Core 1 machine. All
the libraries are found, and I have got this far -
pdp_live~ will not
compile - the compiler says that codec_type is not
in a struct, but I
checked avcodec.h (from ffmpeg) and it is!
...compiler output follows:
If anyone has any idea what's going on, please let
me know. I've been
hacking this for 2 days now!
which ffmpeg-version are you using ? in the latest CVS i recently noticed, that they changed some fields from pointers to non-pointers and the like.
since yves seems to not support ffmpeg any more, i suggest you check out a revision of ffmpeg that was valid when yves last made any changes to pdp_live~.c (cvs log says 2005/01/02)
mfg.as.dr IOhannes
-> -> --> ---> -----> --------> -------------> r3search + praktik EK5perimenz
___________________________________________________________ Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
Ed Kelly wrote:
Thanks /ohannes,
It has another problem since I went back to an old version, but I got on the ffmpeg mailing list looking for a cvs from about then.
It becomes impossible when a package depends on another package, constantly changing, with few if any releases (i.e. ffmpeg). So if I can get it to work just once I will be able to make archives.
quoting from the ffmpeg-devel list (which i bothered about changing APIs without changing release-numbers)
##The best (IMHO) is to develop using the current cvs, then when ## shipping you do a cvs co -D, like: ## ## cvs -d :pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co -D '20050101 12:00GMT' ffmpeg ## ## This gives you a source tree as it was at that time *and cvs update ## wont change it!*.
while the date in the case is arbitrary, it might well fit your needs...
[OT]Hope you are well. How is Graz?
nice, steiris[:her:]bst is starting today so i should be there and not here...
mfg.a.sdr IOhannes