|
Installation
Installation instructions for osgAudio
IntroductionosgAudio requires OpenSceneGraph osgAudio needs one audio back end selected at CMake configuration time. Currently OpenAL and FMOD are supported. Installing osgAudioOnce you have built osgAudio it is possible to install osgAudio into a directory that will contain a bin, lib, and include directory with the 'install' target for GNUMake. The location of this directory can be set via the CMake variable CMAKE_INSTALL_PREFIX. After you have installed osgAudio, be sure to point your (DY)LD_LIBRARY_PATH at the lib directory and your PATH at the bin directory. This will enable your applications to load the appropriate osgAudio libraries and plugins. DetailsDependenciesCompatible versions of OSG: v2.6.1, v2.8.1, v2.8.2, and v2.8.3. OpenAL subsystem:
FMOD subsystem: DownloadTo build osgAudio you first need to download and install OpenSceneGraph as well as the dependencies for your chosen audio subsystem. Cross-platform build (using CMake)These instructions should work for a large range of platforms:
CMake settings
UnimplementedAudio recording, live audio input streams, and grouped audio sources are unimplemented in FMOD. Some more esoteric settings (such as reverb) may not be implemented in FMOD if a mapping between the original functionality and FMOD's API couldn't be found. TestingIf you are building for OpenAL++, first test the OpenAL++ low-level examples (example_oalpp_*). If you are using FMOD, or if that step passes, then test the osgAudio low-level example/demo programs (example_osgaudiolow_*). When those run ok, try the osgAudio high-level OSG-integrated examples (example_osgaudio_*). Other platformsosgAudio has not been tested on platforms other than Linux and Windows. If you get it to work on another platform, contact us with information on how you did, and we'll add information to this file. Be sure to tell us about any changes you made to osgAudio to get it to work. | |