Index Introduction Contents Install Dependencies Demos Data Viewer Stereo Plan Reference Guides

Scene graph dependencies

The OpenSceneGraph is composed of core scene graph libraries, plugins libraries and demo programs. The core scene graph libraries (osg, osgDB, osgUtil) are only dependant upon OpenGL and Standard C++ so should compile straight out of the box on most systems. To run the demos one will also need to compile osgGLUT which adds the dependancy of GLUT, and if true type text is required then the freetype library will be required. The plugins which are used to read and write various file formats have their own sets of dependancies listed below, some have no dependancies at all. A plugin is only needed if you need to load that specific file format, so it is not critical if you don't have all the reqiured dependencies.


Windows dependency archives

To make life easier for Windows users, we have put together a .zip archives with all the required dependancies which can be download and installed somewhere in you system. You'll need to set VisualStudio to pick up on the include and libs, and the PATH set to pick up in the dll's. Alternatively, a more hacky but simpler solution is to unpack this archive inside you OpenSceneGraph distribution, so that all the include files drop into OpenSceneGraph/include, and the libs drop into OpenSceneGraph/lib, and all the dll's drop into OpenSceneGraph/bin, this way VisualStudio will pick up the files simpler through the paths set up inside the workspace and project files. The archives can be downloaded here: . .


Core library dependencies


Plug-in dependencies

Follows is the list of depedencies which some of the osgPlugins require, note the core osg and viewer do not need the following dependencies, you only need the following if you require each specific plugin. Note, the flt, 3ds, pic, tga, do not have any dependencies other than Standard C++ so will compile straight of the bag. Under Linux the majority of the depedancies below come as standard with distributions so you may not need to download them at all. Its best to try out a straight compile of the osg, if you get missing includes/libs errors then chase up the below.