Third Party
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
- VisualStudio 2017
- The following two packages are compiled with VisualStudio 2017 RTM (VC14) for 64bit only (v141 platform toolset). If you need 32bit (x86), please use this package. Please ensure you have the correct Visual Studio version installed. You can use the ENV variable OSG_3RDPARTY_DIR to auto configure CMake. Package details, content list and sources are available here
- Small package for 64 bit https://download.osgvisual.org/3rdParty_VS2017_v141_x64_V11_small.7z - Last Update: V11 on 2017/03/22
- Full package for 64 bit https://download.osgvisual.org/3rdParty_VS2017_v141_x64_V11_full.7z - Last Update: V11 on 2017/04/08
- VisualStudio 2015
- There is no prebuilt package at the moment but depending on which dependencies you need you could compile them yourself using the following CMake scripts https://github.com/bjornblissing/osg-3rdparty-cmake . (Updated 2016/2/22)
- VisualStudio 2013 Update 5 (VC12)
- The following two packages are compiled with VisualStudio 2013 RTM (VC12) for 64bit only (v120 platform toolset). If you need 32bit (x86), please use this package. Please ensure you have the correct Visual Studio version installed. You can use the ENV variable OSG_3RDPARTY_DIR to auto configure CMake. Package details, content list and sources are available here
- Small package for 64 bit https://download.osgvisual.org/3rdParty_VS2013.5_v120_x64_V10_small.7z - Last Update: V10 on 2016/10/22
- Full package for 64 bit https://download.osgvisual.org/3rdParty_VS2013.5_v120_x64_V10_full.7z - Last Update: V10 on 2016/10/22
- VisualStudio 2012 Update3 (2012.3, VC11)
- The following two packages are compiled with VisualStudio 11 Update3 (v110 platform toolset) and thus the binaries are not compatible with Windows XP (but the libraries (.dll/.lib) might work with windows XP!). We recommend to use it with Windows Vista or above and please ensure you have the correct Visual Studio version installed. You can use the ENV variable OSG_3RDPARTY_DIR to auto configure CMake. Package details, content list and sources are available here
- Small package for 32 & 64 bit https://download.osgvisual.org/3rdParty_VS2012.3_v110_x86_x64_V8b_small.7z - Last Update: V8 on 2013/07/22
- Full package for 32 & 64 bit https://download.osgvisual.org/3rdParty_VS2012.3_v110_x86_x64_V8b_full.7z - Last Update: V8 on 2013/07/22
- VisualStudio 10 (2010)
- 32 & (some) 64 bit 3rdParty_VC10_x86_x64.zip
- VisualStudio 9 (2008) SP1
- 32 & 64 bit http://download.osgvisual.org/3rdParty_VC9sp1_x86_x64_V7.7z - Last Update: V7 on 2011/06/29 - Details, content list and sources are available here - Use the ENV variable OSG_3RDPARTY_DIR to auto configure CMake.
Linux pre packaged dependencies
- Under Debian GNU/Linux you can also make use of the pre-packaged binaries and run apt-get build-dep openscenegraph to download and install the necessary dependencies.
A quick dependencies guide follows.
- Plugins :
The plugins are all optional, many of which have no further requirements beyond the core libraries so will compile straight out of the box. Other plugins require 3rd party libraries to be installed to allow them to be compiled. If you don't need to compile and plugin that is at present being compiled by default simply comment it out of the Make/makedirdefs file under Unix or unselect that particular plugin in VisualStudio's batch build. Follows is a list of dependencies and where to download them for each set of platforms.
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.