Saturday, April 17, 2010

artoolkit on latest ubuntu9.10 (V4L2)

ARToolkit didn't support V4L2 webcam.
So, some good guy made patches for using V4L2 on artoolkit.
(Thank for http://techmemo.g.hatena.ne.jp/emergent/20080427/1209314478 and others.)

V4L2 patched artoolkit-2.72.1 is here.

Bbefore compile,
$ sudo ln -s /usr/src/linux-headers-2.6.xxxx/include/linux/linkage.h /usr/include/linux/linkage.h
$ sudo ln -s /usr/src/linux-headers-2.6.xxxx/include/linux/compiler.h /usr/include/linux/compiler.h
$ sudo ln -s /usr/src/linux-headers-2.6.xxxx/include/asm-generic/linkage.h /usr/include/asm/linkage.h
and...
$ ln -s /dev/video0 /dev/video
tested by ubuntu 9.10.

eclipse setting.


See also...



No comments: