Hi Chris,

as far as I understand, osgAudio tries to instance 
'osg::Geometry::BIND_PER_PRIMITIVE' in both osgaudiomultiple.cpp and 
osgaudio.cpp, which appears to have been replaced in recent versions of OSG. 
Here's the error message produced by GNU make on my Ubuntu 15.10 64 bit machine 
(using ccmake for configuring):

Building CXX object 
examples/osgaudio/CMakeFiles/example_osgaudio.dir/osgaudio.cpp.o
/home/mic/Dev/source/osgaudio_gitmaster1602/examples/osgaudio/osgaudio.cpp: In 
function ‘osg::Node* createBase(const Vec3&, float)’:
/home/mic/Dev/source/osgaudio_gitmaster1602/examples/osgaudio/osgaudio.cpp:216:11:
 error: ‘class osg::Geometry’ has no member named ‘setVertexIndices’
     geom->setVertexIndices(coordIndices);
           ^
/home/mic/Dev/source/osgaudio_gitmaster1602/examples/osgaudio/osgaudio.cpp:219:11:
 error: ‘class osg::Geometry’ has no member named ‘setColorIndices’
     geom->setColorIndices(colorIndices);
           ^
/home/mic/Dev/source/osgaudio_gitmaster1602/examples/osgaudio/osgaudio.cpp:220:27:
 error: ‘BIND_PER_PRIMITIVE’ is not a member of ‘osg::Geometry’
     geom->setColorBinding(osg::Geometry::BIND_PER_PRIMITIVE);
                           ^
examples/osgaudio/CMakeFiles/example_osgaudio.dir/build.make:54: recipe for 
target 'examples/osgaudio/CMakeFiles/example_osgaudio.dir/osgaudio.cpp.o' failed
make[2]: *** [examples/osgaudio/CMakeFiles/example_osgaudio.dir/osgaudio.cpp.o] 
Error 1
CMakeFiles/Makefile2:290: recipe for target 
'examples/osgaudio/CMakeFiles/example_osgaudio.dir/all' failed
make[1]: *** [examples/osgaudio/CMakeFiles/example_osgaudio.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2


Best regards,
Michael

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=66479#66479





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to