I have not tested it with recent builds of FMOD. It's possible FMOD has removed some capabilities like 3D LOG ROLLOFF. In that case, you might need to #ifdef out some code to get it to compile.
On Wed, Mar 19, 2014 at 10:52 AM, Petr Svoboda <upd...@seznam.cz> wrote: > Hi, > > I'm trying to compile osgAudio plugin but there are some compilation > errors related to Fmod > > > > /home/petr/Plocha/osgAudio_02_00_00/src/osgAudio/BackendFMOD/AudioEnvironmentFMOD.cpp:40:2: > error: 'FMOD_3D_LOGROLLOFF' was not declared in this scope > > > /home/petr/Plocha/osgAudio_02_00_00/src/osgAudio/BackendFMOD/AudioEnvironmentFMOD.cpp:40:21: > error: 'FMOD_3D_LOGROLLOFF' was not declared in this scope > > > /home/petr/Plocha/osgAudio_02_00_00/src/osgAudio/BackendFMOD/AudioEnvironmentFMOD.cpp:40:40: > error: 'FMOD_3D_LOGROLLOFF' was not declared in this scope > > > /home/petr/Plocha/osgAudio_02_00_00/src/osgAudio/BackendFMOD/AudioEnvironmentFMOD.cpp: > In member function 'void osgAudio::AudioEnvironment::initInternals()': > > > /home/petr/Plocha/osgAudio_02_00_00/src/osgAudio/BackendFMOD/AudioEnvironmentFMOD.cpp:74:27: > error: 'FMOD_3D_LOGROLLOFF' was not declared in this scope > > make[2]: *** > [src/osgAudio/CMakeFiles/osgAudio.dir/BackendFMOD/AudioEnvironmentFMOD.cpp.o] > Error 1 > > make[1]: *** [src/osgAudio/CMakeFiles/osgAudio.dir/all] Error 2 > > make: *** [all] Error 2 > > > > > Makefile generated using cmake. Where could be a problem? > > Also, is there any other plugin which would support playing audio files? > Thank you > > Cheers, > Petr > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=58662#58662 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > -- Chris 'Xenon' Hanson, omo sanza lettere. xe...@alphapixel.com http://www.alphapixel.com/ Training * Consulting * Contracting 3D * Scene Graphs (Open Scene Graph/OSG) * OpenGL 2 * OpenGL 3 * OpenGL 4 * GLSL * OpenGL ES 1 * OpenGL ES 2 * OpenCL Digital Imaging * GIS * GPS * osgEarth * Terrain * Telemetry * Cryptography * Digital Audio * LIDAR * Kinect * Embedded * Mobile * iPhone/iPad/iOS * Android @alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775) 623-PIXL [7495]
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org