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!

No related content found.

Leave a comment ?

3 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

Leave a Comment