ARToolkit problems with Ubuntu 9.10

In our project we have the ARToolkit installed on several machines, and not all machines have problems with the V4L version of the toolkit, so you could try out the V4L version before resorting to the GStreamer version.

If you encounter the following error: “error: acquireing channel(0) info” it probably means you should configure the ARToolkit for GStreamer. Apparently this is due to some problems using V4L2 libraries, which is not supported by ARToolkit.
To do this you should re-run configure and make in the root of the ARToolkit to rebuild the toolkit. It is important to remember to clean the previous installation before reconfiguring. This can be done by running “make clean” in the root folder of the toolkit.
When configuring select option 5 “GStreamer” and choose the rest of the options that are appropriate for your system. After compilation you should be able to run the “simpleTest” demo.

If the default options does not work with the simpleTest example, it might be necessary to specify some options before running the example. Try running the following command to set options for ARVideo.

export ARTOOLKIT_CONFIG="v4l2src device=/dev/video0 use-fixed-fps=false ! ffmpegcolorspace ! capsfilter caps=video/x-raw-rgb,bpp=24 ! identity name=artoolkit ! fakesink"

Remember to change the device string to point to right camera source.

7 thoughts on “ARToolkit problems with Ubuntu 9.10

  1. The alternative for fixing this problem, if you do not have GStreamer, is to use video4linux library preload when lauching the ./simpleTest by the instruction

    LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so

  2. Hello Guys,
    I’ve been trying for a couple of hours to figure out How get this working on Ubuntu 10.04.
    I’m using amd64 arquitecture, v4l and I tryied the LD_PRELOAD, but I got ERROR: ld.so: object ‘/usr/lib32/libv4l/v4l1compat.so’ from LD_PRELOAD cannot be preloaded: ignored.

    v4l is working aside this, I can’t get working with the library.
    I’m trying to see this working on linux, for start coding on free time, but I’m unable to.,

    any help would be appreciated.

    Thanks.

  3. Thanks a lot!! I have been searching to configure Artoolkit for the past few days. Finally I got it working on 10.4 Ubuntu.

  4. Grazie millle anna!! Ho perso giornate tenrando di installare e far funzionare ARToolkit!!
    Grazie mille ancora!! Ciaociao!!

    ps: sorry but i’m italian ;) XDXD!!

  5. hi all
    i tried compiling artool kit in linux fedora 11
    i have set v4l while configuring the artoolkit
    and i have set the LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
    path and i try run the simpleTest now the application seems to be running but the output looks like black screen.
    Do any one have any idea abt the issue….
    thanks in advance

  6. Thank you so much Anna for posting! Mine was in
    $ export LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so
    Struggled so long to get GStreamer working but it won’t, with this line, my Video4Linux worked. Awesome. Thank you thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>