dear all,

is there a way to get the pdvjtools working on Mac OS X10.5.8?
I would be especially interested in the videogrid object (as I hope if I am able to compile this all the other pdvjtools can also be built).

What I did by now (besides having Xcode on the system):

1. install pd-extended binary from:

2. install ffmpeg via macports (a "ffmpeg -version" results in ffmpeg version 0.5)

3. get ffmpeg sources from:

4. get the PD sources from:

5. get the pdvjtools from:

6. modified the first line of the videogrid-makefile to fit my pd sources:

7. tried to modify the second line of the makefile to:
This is the folder with the ffmpeg sources.

After make clean I start make - it fires up gcc with some correct path to the pd-sources - but the ffmpeg sources are the problem:
g++ -I/Daten/pdsrc/ffmpeg-0.5 -I/Daten/pdsrc/Pd-0.41.4-extended/pd/src -fPIC -c -O -o videogrid.o error: ffmpeg/avcodec.h: No such file or directory

Question 1: why this path? I never said "ffmpeg" is the path but "ffmpeg-0.5"?

Question 2: Ok - avcodec.h is really not in ffmpeg but in:
(I also "opened up" the rights to not be trapped in a permission thingy)

make still does not work :-( - same error;

So I tried:
in the makefile - the result was the same.

So I changed the ffmpeg headers to:
g++ -I/Daten/pdsrc/ffmpeg-0.5/libavcodec/ -I/Daten/pdsrc/Pd-0.41.4-extended/pd/src -fPIC -c -O -o videogrid.o error: ffmpeg/avcodec.h: No such file or directory

So I started to mess around even more - i renamed the "libavcodec" dir to "ffmpeg" and restored the headers to FFMPEG_HEADERS=-I/Daten/pdsrc/ffmpeg-0.5
This results (as avcodec.h is now found) in:
g++ -I/Daten/pdsrc/ffmpeg-0.5 -I/Daten/pdsrc/Pd-0.41.4-extended/pd/src -fPIC -c -O -o videogrid.o error: ffmpeg/avformat.h: No such file or directory

This for me looks like a never-ending pain - hence the last question:
Does somebody have a working makefile for the pdvjtools for Mac OS X or at least some hint on how to get them working?