[PD] pidip compilation problem

2009-03-16 Thread marc widmer

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@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pidip compilation problem

2009-03-17 Thread marc widmer
came 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@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list







___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pidip compilation problem

2009-03-17 Thread marc widmer

hi IOhannes

thanks for your inputs...

yes, pdp is installed an running (PDP: pure data packet version 
0.12.5-darcs)
ffmpeg is from cvs, but not from sourceforge, apparently ffmpeg moved to 
ffmpeg.org


i downloaded it via svn from here:

svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg

compilation went fine. but beside the note that you should compile 
ffmpeg from cvs,
which is not available anymore (guess svn should be the right 
replacement), there

is no special version mentioned.

if you have any other suggestions, i would be really happy, as for now, 
i do not

really know where's the problem.

best
marc


IOhannes m zmoelnig wrote:

marc widmer wrote:

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/




two suggestions:
- have you configured and built pdp?
- is the ffmpeg you installed of the "correct" version? (i think the 
correct version is mentioned somewhere pidip's readme)



mfgasr
IOhannes



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pidip compilation problem

2009-03-17 Thread marc widmer

hi IOhannes

you are right, it compiles without ffmpeg. i moved my changed c_track 
object to the new pidip sources and it seems to work, i have to check it 
intensively in the next days.


the old pidip will not compile, guess it's what yves mentioned, my 
imagamagick version is too new. so if my project is not running with the 
new pidip i guess i have to downgrade imagemagick (cross my fingers for 
no dependency problems here :) but i hope i do not have to do that.


thanks a lot.

atb
marc




IOhannes m zmoelnig wrote:

marc widmer wrote:

hi IOhannes

thanks for your inputs...

yes, pdp is installed an running (PDP: pure data packet version 
0.12.5-darcs)
ffmpeg is from cvs, but not from sourceforge, apparently ffmpeg moved 
to ffmpeg.org


i downloaded it via svn from here:

svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg



this most likely won't work.
ffmpeg is changing rapidly (usually more rapidly than the application 
that rely on it) - so you will have to get a version that is known to 
work with PiDiP.
in the notes it mentions ffmpeg >= 0.4.9, so you should probably get 
0.4.9, and not the head of ffmpeg's repository.


until you get it, i suggest trying to compile pidip without ffmpeg 
support.


fgmasdr
IOhannes



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pidip compilation problem

2009-03-18 Thread marc widmer

hi list & yves

i tested my old patches and everything looks ok, beside a warning in the 
shell, that base64 is missing, is this important?

so far everything worked.

i changed c_track in the source, so that it checks not one point, but a 
matrix of points. at the moment all these points
are with fixed offset between each other. from pd i just set the start 
coordinates. furthermore i do check not the color
of one pixel, but of all surrounding points (9 in total) and calculate 
the average. i do this to avoid tracking flickering pixel
noises which sometimes occur when i grap video from my surveillance 
color cams.


at the moment this is rather a hack of your source then a proper 
enhancement, but maybe, if you think this could be usefull,
a module lik c_track_matrix could be a goal. where one can send a list 
with coordinates to track and the area space

surrounding that point.

i haven't checked the development of pidip since a while, maybe now 
there is already a better way to do this.


all the best
marc

ydego...@gmail.com schrieb:

ydego...@gmail.com wrote:

marc widmer wrote:

hi IOhannes

you are right, it compiles without ffmpeg. i moved my changed 
c_track object to the new pidip sources and it seems to work


what are these changes anyway ?
it might benefit to other people, no?

sevy



--
netzbarkeit: Medienservice nach Mass

Marc Widmer, Bitarbeiter

ADRESS: netzbarkeit, Kernstrasse 37, CH-8004 Zurich, Switzerland
PHONE: +41 (0)44 400 50 45  :  FAX: +41 (0)44 400 50 47
WEB: www.netzbarkeit.ch 




NEU: emaki-Newstool www.newstool.ch

Email-Newsletter-Management für Firmen, Institutionen und Vereine.


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pidip compilation with quicktime fails

2007-09-23 Thread Marc Widmer [metafor]
hi list

actually yves was wright, i just compiled pdp not really properly. 
everything works fine now.
thanks a lot.

nice sunday evening to everybody
marc

Hans-Christoph Steiner schrieb:
>
> Try the latest Pd-extended packages, PiDiP works on every Mac OS X and 
> GNU/Linux machine I've tried with those packages (included 20+ Ubuntu 
> Feisty machines):
>
> http://at.or.at/hans/pd/installers.html
>
> .hc
>
> On Sep 23, 2007, at 12:56 PM, [EMAIL PROTECTED] wrote:
>
>> hi list
>>
>> after reinstalling ubuntu feisty own my computer i made a reinstall
>> from pidip from source. i need it from source as slightly changed
>> ctrack to fit my needs.
>>
>> i can compile pidip but when i start pd with the pidip library i get
>> the following error:
>>
>> PDP: pure data packet version 0.12.5-test-7
>> ./pidip.pd_linux: ./pidip.pd_linux: undefined symbol: quicktime_close
>> pidip: can't load library
>>
>> configure give me:
>> checking for lqt_decode_video in -lquicktime... yes
>> qt version minor : 7
>>
>> this is the first time since months that i run into compilation
>> problem with pidip, i do not really understand why as configure runs
>> through every check smoothly. i use libquicktime from ubuntu
>> repository, i even compiled it from source myself, no change.
>>
>> any ideas???
>>
>> every hint is welcome.
>>
>> all the best
>> marc
>>
>>
>> ___
>> PD-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
>
>
>
>  
>
>
> If you are not part of the solution, you are part of the problem.
>
>
>
>


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] pidip compilation with quicktime fails

2007-09-23 Thread Marc Widmer [metafor]
hi list

actually yves was wright, i just compiled pdp not really properly. 
everything works fine now.
thanks a lot.

nice sunday evening to everybody
marc

Hans-Christoph Steiner schrieb:
>
> Try the latest Pd-extended packages, PiDiP works on every Mac OS X and 
> GNU/Linux machine I've tried with those packages (included 20+ Ubuntu 
> Feisty machines):
>
> http://at.or.at/hans/pd/installers.html
>
> .hc
>
> On Sep 23, 2007, at 12:56 PM, [EMAIL PROTECTED] wrote:
>
>> hi list
>>
>> after reinstalling ubuntu feisty own my computer i made a reinstall
>> from pidip from source. i need it from source as slightly changed
>> ctrack to fit my needs.
>>
>> i can compile pidip but when i start pd with the pidip library i get
>> the following error:
>>
>> PDP: pure data packet version 0.12.5-test-7
>> ./pidip.pd_linux: ./pidip.pd_linux: undefined symbol: quicktime_close
>> pidip: can't load library
>>
>> configure give me:
>> checking for lqt_decode_video in -lquicktime... yes
>> qt version minor : 7
>>
>> this is the first time since months that i run into compilation
>> problem with pidip, i do not really understand why as configure runs
>> through every check smoothly. i use libquicktime from ubuntu
>> repository, i even compiled it from source myself, no change.
>>
>> any ideas???
>>
>> every hint is welcome.
>>
>> all the best
>> marc
>>
>>
>> ___
>> PD-list@iem.at mailing list
>> UNSUBSCRIBE and account-management -> 
>> http://lists.puredata.info/listinfo/pd-list
>
>
>
>  
>
>
> If you are not part of the solution, you are part of the problem.
>
>
>
>


___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list