[PD] pidip - compiler output - ???

Ed Kelly morph_2016 at yahoo.co.uk
Fri Sep 30 15:06:56 CEST 2005


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20050930/c35648c3/attachment.htm>


More information about the Pd-list mailing list