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:
- installARToolKit.sh
- installCollada.sh
- installOpenSceneGraph.sh
- 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!
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:
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.
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’
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.