[PD] help compiling pd-extended

Charles Goyard cg at fsck.fr
Thu Jan 26 00:38:44 CET 2012


Renato wrote:
> > > In file included from pix_video.cpp:18:0:
> > > ../Pixes/videoV4L.h:43:29: fatal error: linux/videodev.h: No such
> > > file or directory

This is because video4linux v1 has been dumped from recent kernels and
this Gem is so old. I finally found how I did.

In Pd-0.42.5-extended/packages/Makefile, I add --without-libv4l1 to the
Gem compile options:

 # gem_install
 GEM_NAME = Gem
 $(gem_src)/src/configure: 
         cd $(gem_src)/src && ./autogen.sh

 $(gem_src)/src/Gem.dll: $(gem_src)/src/configure

 $(gem_src)/src/Gem.pd_linux: $(gem_src)/src/configure
         cd $(gem_src)/src && ./configure \
                 --with-pd=$(pd_src) --without-libv4l1  # <--- here
         $(MAKE) -C $(gem_src)/src


And don't forget to "make clean" before recompiling !




More information about the Pd-list mailing list