thanks hans for this indication this is the correct flag to compile it with v4l2?! --with-libv4l2-includes=/usr/lib/libv4l2.so the package builts but still i'm gettin error: [pix_video]: could not find a backend for driver 'v4l2'
i also tried a gem solo & make spits this error: recordQT4L.cpp -o ../Objects/recordQT4L.o recordQT4L.cpp: In function ‘lqt_file_type_t guess_qtformat(const char*)’: recordQT4L.cpp:96: error: invalid conversion from ‘const char*’ to ‘char*’ make[1]: *** [recordQT4L.o] Error 1 make[1]: Leaving directory `/home/olsen/pd/pd-extended/Gem/src/Pixes' make: *** [Pixes] Error 2
same with gem 0.92-1 recordQT4L.cpp: In function ‘lqt_file_type_t guess_qtformat(const char*)’: recordQT4L.cpp:96: error: invalid conversion from ‘const char*’ to ‘char*’ make[1]: *** [recordQT4L.o] Error 1 make[1]: Leaving directory `/home/olsen/pd/extra/0.92-1/Gem/src/Pixes' make: *** [Pixes] Error 2
with gem0.92svn i stuck at the configure:
./configure: line 3005: syntax error near unexpected token PIC,' ./configure: line 3005:
GEM_ARG_ENABLE(PIC, PositionIndependentCode
(potentially slower))'
Hans-Christoph Steiner wrote:
You can see the gem ./configure flags used for Pd-extended in packages/Makefile.
.hc
On Nov 3, 2009, at 5:48 PM, olsen wrote:
hi thanks IOhannes for the help. i installed libv4l-dev & recompiled the package but i'm not getting the v4l2 support, as i do not know in the pd-extended automation how to do the gem configure with libv4l-support... greets ø
IOhannes zmölnig wrote:
hans w. koch wrote:
it installed wonderfully on my eeepc901 and pd says gem 0.92.1 from oct 30, but: when trying out pix_video it starts with video driver 0: video4linux v4l
now, when i send a message "driver v4l2" console gives: could not find a backend for driver "v4l2"
the webcam is otherwise working fine (tested with cheese)
anyone got an idea?
simple: the version of Gem you are using has been compiled without libv4l support. whoever built the package has either not enabled libv4l-support (there is a new flag in Gem's configure called --without-ALL which disables everything so you have to manually re-enable whatever you want; this is meant for package-maintainers so they have better control about what features the package will have) or there was no libv4l-dev installed on the build machine. solutions:
- build Gem yourself and make sure that you have all relevant packages
installed (in your case, don't forget libv4l-dev)
- ask the person who built your package to enable libv4l
fgmasdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- ETs DNA will not be televised
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Information wants to be free. -Stewart Brand