On Wed, 14 Oct 2009 12:02:43 -0300 Guilherme Longo <grlongo.ireland@xxxxxxxxx> wrote: > Do we need include any other header file than > > libv4l2.h > libv4lconvert.h > > to get libv4l working? > > I read Hans saying that: > > Just replace open("dev/video0", ...) with v4l2_open > ("dev/video0", ...), ioctl with v4l2_ioctl, etc. libv4l2 will then do > conversion of any known (webcam) pixelformats to bgr24 or yuv420. > > But I am getting undefined reference to 'v4l2_open' and 'v4l2_ioctl'. > Can I get some help? You must also "link" your program with necessary libraries, for example gcc code.c -lv4l2 -- Onur Küçük Knowledge speaks, <onur.--.-.delipenguen.net> but wisdom listens -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html