Installation

This section describes how to download and build OSGART and its dependencies.

Dependencies

Minimum requirements for OSGART:

The Windows installer package ships with prebuilt binaries for ARToolkit but is only usable with Visual Studio .NET 2003 and the binary package by Mike Weiblen.

Download

Download OpenSceneGraph. If you working on Windows the recommended combination is to use the OpenSceneGraph Windows installer and the OSGART Windows installer. The installer package will detect the OpenSceneGraph package and will add the files needed to run OSGART.

Download ARToolKit.

Build Instructions

OSGART is supported on Windows, Mac OSX and Linux platforms. Please make sure your development environment matches our minimum requirements. Ensure ARToolKit is installed and running correctly. Follow these instructions if you need assistance. The following sections will cover the respective operating systems. We also provide a meta build system for osgART using bakefile in case you need to regenerate some the make or project files.

Windows

You will find project files for Visual Studio .NET 2003 and Visual Studio 2005 in the /VisualStudio/osgART/ folder in the source package. We are not supporting Visual Studio 2005 actively due to known reasons and various SDK not yet ready to work with the compiler included.

Linux

Mac OSX

Prerequisites:

Setting up the necessary directory structure:

osgART must be able to find its dependencies during the build process. The XCode project file comes setup for a folder structure like this:

someDirectory/   (top-level development directory)
	ARToolKit/
		bin
		examples
		include
		lib
	OpenSceneGraph/
		Examples/
		Frameworks/
		Plugins/
	OSGART/
		bin/
		docs/
		etc/
		include/
		src/
		VisualStudio/
		XCode/
If you wish to change this structure, you must edit the search path settings inside the build settings inspector for every one of the targets.

Building using the XCode IDE:

  1. Unpack the archive to a convenient location, and open the file XCode/osgART.xcodeproj.
  2. Make sure that ARToolKit 2.72 builds and that you can run the simpleLite ARToolKit example without errors.
  3. Build osgART.

Running the built application:

The osgARTTest example is built as a bundled application, and can be moved from its original location to anywhere on the system. It can be run double clicked from the Finder (debug output will appear in Console) or from within XCode.