Dependencies

The OpenSceneGraph has range of dependencies, listed at the bottom of this page, most of which are optional and only required if you want to load a specific type of data. The OpenSceneGraph CMake based build system can automatically detect what dependencies you have installed and enable/disable the build of various modules according to what is available. Under Windows and Debian linux pre built binary packages available, using these can make your life a little easier.

Windows prebuilt dependency packages

Linux pre packaged dependencies

 

A quick dependencies guide follows.

file format Plugin source code in the OSG distribution Windows OSX Unix
tiff images src/osgPlugins/tiff tiff from the gnuwin32 repository Fink or (see note on Quicktime) libtiff
jpeg images src/osgPlugins/jpeg jpeg from the gnuwin32 repository Fink or (see note on Quicktime) libjpeg
gif images src/osgPlugins/gif libungif from the gnuwin32 repository Fink or (see note on Quicktime) libungif
png images src/osgPlugins/png libpng from the gnuwin32 repository Fink or (see note on Quicktime) libpng & libz
true type fonts src/osgPlugins/freetype freetype from the gnuwin32 repository Fink or freetype freetype
performer .pfb's src/osgPlugins/pfb Performer (now discontinued) Performer is not available Performer - for Linux and IRIX (now discontinued)

Notes, under OSX you can use Quicktime along with the src/osgPlugins/quicktime plugin to load tiff, jpef, gif and png images formats so you don't need to compile the related plugins.