Previously sent to Hans only forwarding to the list. Hi again...
The best thing would be to help Lorenzo get pdp working with v4l2 and remove the v4l stuff.
It doesn't seem so trivial though... I hadn't understood correctly that pdp_v4l2 is actually part of pidip, not pdp.
So following the radical approach of totally getting rid of v4l in favour of v4l2 here's my first attempt where I brutally replaced pdp_v4l.c with the contents of pdp_v4l2.c, replaced #include <linux/videodev2.h> with #include <libv4l1-videodev.h> and renamed the setup function and symbol in the setup function to pdp_v4l (i.e. the object is still [pdp_v4l] when you load the pdp library).
It seems to work (only the [pdp_v4l] didn't test the rest) on a vanilla build of 0.43
I did some changes to configure.ac concerning the ability to pick up the pd source file (giving for granted puredata-dev is installed) and the videodev.h headers.
Sorry this is all very hacky... but as I said I'm very new to this kind of 'packaging' thing.
Lorenzo.
You could also try removing pdp from the build, in externals/Makefile, see the variable LIB_TARGETS. Then at least you'll have all of Pd-extended minus pdp. Or another kludge is to make a symlink to the old v4l:
sudo apt-get install libv4l-dev sudo ln -s /usr/include/libv4l1-videodev.h /usr/include/linux/videodev.h
.hc
On Mon, 27 Jun 2011 18:20 +0200, "batinste"dwanafite@yahoo.fr wrote:
Hi list
I'm looking for some Pd-extended build for Ubuntu 11.04 x64 (Natty Narwhal, 2.6.38 kernel). I've tried to compile 0.42.5 by myself (with this guide : http://puredata.info/docs/developer/DebianWheezyAmd64 and http://ubuntuforums.org/showthread.php?t=1767292) but got stuck because of issues between 2.6.38, V4L and pdp.
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