[PD] pidip compilation problem

marc widmer marc at anorg.net
Tue Mar 17 12:21:01 CET 2009


hi

my configure command looks like this:

./configure --with-pd=/usr/lib/pd 
--with-pdp=/home/metafor/Desktop/puredata-externals/externals/pdp/ 
--with-ffmpeg=/home/metafor/Desktop/puredata-externals/ffmpeg/


i added this option
--disable-capture

but with no success, old pidip fails at the same point. (actually the 
disable option is not available in this version)
my image-magick version is obviously later:
imagemagick_6.3.7.9.dfsg1-2ubuntu1_i386.deb

i checked, the new pidip from svn has --disable-option
with autoconf i genereated a new configure and after this i could 
compile further but, now im stucked
with pdp_live~

i have installed latest ffmpeg from source, but now i am stucked with 
this (see below)

it does not mention anything missing, so i do not know where to search. 
btw. can i easily port my changed pdp_ctrack (v 0.1) to the newest pidip 
install (haven't done it yet)? i guess my pidip at the time was .18 or 
.19, in .23 pdp_ctrack still has version number 0.1 which makes me 
confident.

if you could help me out, i would be reallly happy.

pdp_live~.c: In function ‘pdp_live_decode_packet’:
pdp_live~.c:268: warning: comparison between signed and unsigned
pdp_live~.c:282: error: request for member ‘codec_type’ in something not 
a structure or union
pdp_live~.c:294: warning: implicit declaration of function 
‘avcodec_decode_audio’
pdp_live~.c:342: error: request for member ‘channels’ in something not a 
structure or union
pdp_live~.c:343: error: request for member ‘sample_rate’ in something 
not a structure or union
pdp_live~.c:346: warning: ‘audio_resample_init’ is deprecated (declared 
at /usr/local/include/libavcodec/avcodec.h:2573)
pdp_live~.c:347: error: request for member ‘channels’ in something not a 
structure or union
pdp_live~.c:349: error: request for member ‘sample_rate’ in something 
not a structure or union
pdp_live~.c:354: error: request for member ‘channels’ in something not a 
structure or union
pdp_live~.c:400: error: request for member ‘width’ in something not a 
structure or union
pdp_live~.c:401: error: request for member ‘height’ in something not a 
structure or union
pdp_live~.c:403: error: request for member ‘frame_rate’ in something not 
a structure or union
pdp_live~.c:410: warning: passing argument 1 of ‘avcodec_decode_video’ 
from incompatible pointer type
pdp_live~.c:411: error: request for member ‘pix_fmt’ in something not a 
structure or union
pdp_live~.c:414: error: request for member ‘pix_fmt’ in something not a 
structure or union
pdp_live~.c:445: error: request for member ‘width’ in something not a 
structure or union
pdp_live~.c:446: 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:590: error: ‘AVFormatParameters’ has no member named 
‘image_format’
pdp_live~.c:623: warning: comparison between signed and unsigned
pdp_live~.c:652: error: request for member ‘codec_type’ in something not 
a structure or union
pdp_live~.c:656: error: request for member ‘codec_type’ in something not 
a structure or union
pdp_live~.c:659: error: request for member ‘codec_id’ in something not a 
structure or union
pdp_live~.c:659: error: request for member ‘bit_rate’ in something not a 
structure or union
pdp_live~.c:661: error: request for member ‘sample_rate’ in something 
not a structure or union
pdp_live~.c:661: error: request for member ‘channels’ in something not a 
structure or union
pdp_live~.c:664: error: request for member ‘codec_type’ in something not 
a structure or union
pdp_live~.c:667: error: request for member ‘codec_id’ in something not a 
structure or union
pdp_live~.c:668: error: request for member ‘bit_rate’ in something not a 
structure or union
pdp_live~.c:670: error: request for member ‘frame_rate’ in something not 
a structure or union
pdp_live~.c:671: error: request for member ‘width’ in something not a 
structure or union
pdp_live~.c:672: error: request for member ‘height’ in something not a 
structure or union
pdp_live~.c:679: warning: comparison between signed and unsigned
pdp_live~.c:686: error: request for member ‘codec_id’ in something not a 
structure or union
pdp_live~.c:700: warning: passing argument 1 of ‘avcodec_open’ from 
incompatible pointer type
pdp_live~.c: In function ‘pdp_live_disconnect’:
pdp_live~.c:778: warning: comparison between signed and unsigned
pdp_live~.c:783: warning: passing argument 1 of ‘avcodec_close’ from 
incompatible pointer type
pdp_live~.c: In function ‘pdp_live_free’:
pdp_live~.c:980: warning: implicit declaration of function ‘av_free_static’
make[1]: *** [pdp_live~.o] Error 1
make[1]: Leaving directory 
`/home/metafor/Desktop/puredata-externals/externals/pidip/modules'
make: *** [pdp_pidip_all] Error 2


cheers
marc

ydegoyon at gmail.com wrote:
> ola,
>
> what was you configure command ?
>
> ./configure --help
>  --enable-capture        capture optional object ( only works with 
> Image Magick <= 6.0.7 )
>
> this became optional ...
> in a way deprecated...
> it would not work  with most recent  Image Magick..
>
> xiaoo,
> sevy
>
>
> marc widmer wrote:
>> hi list
>>
>> i have to compile pidip from source (on ubuntu studio 8.04) because i 
>> have a project where i depend on some changed files.
>>
>> after a year of not touching the library (never change running 
>> system) i had to move everything to another system and therefore need 
>> to recompile pidip. first i tried to use my old pidip sources, after 
>> running into troubles with (quicktime and lqt) which i could solve. 
>> compilation stopped when pdp_capture should be compiled:
>>
>> pdp_capture.c: In function ‘XMyClientWindow’:
>> pdp_capture.c:129: warning: implicit declaration of function 
>> ‘XWindowByProperty’
>> pdp_capture.c: In function ‘XMyGetWindowImage’:
>> pdp_capture.c:335: warning: implicit declaration of function 
>> ‘XDestroyImage’
>> pdp_capture.c:339: error: ‘Visual’ has no member named ‘klass’
>> pdp_capture.c:340: error: ‘Visual’ has no member named ‘klass’
>> pdp_capture.c:398: error: ‘Visual’ has no member named ‘klass’
>> pdp_capture.c:399: error: ‘Visual’ has no member named ‘klass’
>> pdp_capture.c:440: error: ‘Visual’ has no member named ‘klass’
>> pdp_capture.c:453: warning: implicit declaration of function ‘XGetPixel’
>> pdp_capture.c:455: warning: implicit declaration of function 
>> ‘ScaleShortToQuantum’
>> pdp_capture.c: In function ‘pdp_capture_do_capture’:
>> pdp_capture.c:591: error: ‘XTextProperty’ undeclared (first use in 
>> this function)
>> pdp_capture.c:591: error: (Each undeclared identifier is reported 
>> only once
>> pdp_capture.c:591: error: for each function it appears in.)
>> pdp_capture.c:591: error: expected ‘;’ before ‘window_name’
>> pdp_capture.c:603: error: ‘XError’ undeclared (first use in this 
>> function)
>> pdp_capture.c:684: warning: implicit declaration of function 
>> ‘XGetWMName’
>> pdp_capture.c:684: error: ‘window_name’ undeclared (first use in this 
>> function)
>> pdp_capture.c: In function ‘pdp_capture_sendpacket’:
>> pdp_capture.c:819: warning: passing argument 2 of 
>> ‘pdp_packet_pass_if_valid’ from incompatible pointer type
>> make[1]: *** [pdp_capture.o] Error 1
>>
>> after this i tried to compile from svn, again i had to outcomment 
>> libquicktime issues (though there was already a condition included in 
>> the modules source, whicht was somehow ignored)
>>
>>
>> add the end again i ended up with problems compiling pdp_capture
>> make[1]: *** No rule to make target `@PDP_CAPTURE_OBJECT@', needed by 
>> `all_modules'. Stop.
>> make[1]: Leaving directory 
>> `/home/metafor/Desktop/puredata-externals/externals/pidip/modules'
>> make: *** [pdp_pidip_all] Error 2
>>
>> i guess because old and new pidip are not compiling i miss something 
>> with a library (is it this libquicktiem problem?), but as configure 
>> went fine, i am not sure which one is missing/or wrong version, has 
>> anybody run into these troubles as well? what am i doing wrong?
>>
>> well, any help is apreciated.
>>
>> cheers
>> marc
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
>>
>





More information about the Pd-list mailing list