Installation scripts for ARToolKit, Collada DOM, OpenSceneGraph and osgART

I’ve created some scripts and patches so installation of all this libraries will be much less painful. The patches fix the compatibility issues with Ubuntu 11.10 and 12.04 I explained in other post and some small bugs in osgART and ARToolKit (you can also add support of V4L2 to it, credits to Kameda Yoshinari for this). I still have to test those on some versions of Ubuntu but I think they work quite well and if something goes wrong they are quite self explanatory and you’ll be able to fix them (would be nice if you tell me what you changed so I can improve them for us all ;) ). If you find any errors or a way to improve them don’t hesitate to comment here or in my Github repository. You can download all the files from here:

https://github.com/enekochan/installation-scripts

You should download all the files and place them in the same folder to proceed with the installation. The correct order to execute those scripts is:

  1. installARToolKit.sh
  2. installCollada.sh
  3. installOpenSceneGraph.sh
  4. installosgART.sh

Once you install all the libraries you will be able to use osgART with Collada (.dae) files as I do in this picture:

Don’t worry I’ll explain very soon (and with source code of course) how this is done.

UPDATE: You can find here the source code for this augmented reality application!

You might also like

osgART 2.0 RC3 with OpenSceneGraph 2.9.7 or later (including 3.0.0)
Long time ago I had problems using osgART 2.0 RC3 with OpenSceneGraph 2.9.7 or later, I couldn't get...
ARSlides v1.0: Augmented Reality slide presentation application
I'm glad to inform that I've (finally) published the code for the Augmented Reality application I've...
Install osgART 2.0 RC3 with OpenSceneGraph 2.8.3 or 2.9.6 with Collada support in Ubuntu 12.04
Before installing osgART we need to install ARToolKit, collada-dom and OpenSceneGraph so look at those...
Install OpenSceneGraph 2.9.6 with Collada support in Ubuntu 12.04
Although I usually install OpenSceneGraph 2.8.3 to work with osgART 2.0 RC3 it is also posible to use...
Leave a comment ?

6 Comments.

  1. Thanks so much for a great posting. The location of osgART 2.0 RC3 changed (it’s now under osgart.org/images .. no wiki directory). I’m having a prolem under ubuntu 12.04 during the compilation of osgART:

    -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so 
    -- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig
    -- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig
    -- Found Doxygen: /usr/bin/doxygen 
    CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    ARTOOLKIT2_LIBARGSUB_LITE
        linked by target "osgart_tracker_artoolkit2" in directory /home/kenboy/PROJECTS/osgART/enekochan-installation-scripts-9c09d49/osgART_2.0_RC3/src/osgART/Tra
    ARTOOLKIT2_LIBARVIDEO
        linked by target "osgart_video_artoolkit2" in directory /home/kenboy/PROJECTS/osgART/enekochan-installation-scripts-9c09d49/osgART_2.0_RC3/src/osgART/Video
    
    -- Configuring incomplete, errors occurred!
    Compiling osgART...
    make: *** No targets specified and no makefile found.  Stop.
    make: *** No rule to make target `install'.  Stop.
    

    Any ideas? I’m still digging. Thanks again,

    Best,

    Ken

    • osgART depends on ARToolKit so you have to install it before installing osgART. Use the “installARToolKit.sh” script for that.

  2. Hello, I’m trying to install AR toolkit on Ubuntu 12.04 (x86_64 architecture) but the patch artk-v4l2-2.72.1.20101003 doesn’t work.

    I runned the script “installARToolKit.sh” but I get many compilier errors like:

    ./installARToolKit.sh: eval: line 26: syntax error near unexpected token `(‘
    ./installARToolKit.sh: eval: line 26: `echo “Detected Ubuntu 12.04 system…” 2>&1 | tee /home/jose/Desktop/UTA Research Stuff(Linux)/Augmented-Reality-Surgical-System-Linux/Artoolkit-on-Ubuntu-12.04/installation-scripts/install.log’

    Reply
    • I’ve fixed the problem with the eval command. It was not a compiller error. I just had to quote the log file name in case the path had special characters (yours has spaces).

      I can’t help you with the artk-v4l2-2.72.1.20101003 as I don’t have any 64bit version operating system installed and you don’t give me any information about the error.

      Next time please don’t send me 3 times the same issue. You commented here, opened and issue in github and emailed me all them with the same text. Be aware that you wrote me on a weekend. Be patient next time.

      Reply

Leave a Comment

Trackbacks and Pingbacks: