|
1、osg3.0 vs2008SP1
2、OSGAudio:: http://osgaudio.googlecode.com/svn/trunk;
3、Fmod三个版本42.80.7 43.21.3 43.40.6;都试验过;vorbis,vorbisfile,ogg,这些在我编译OSGAL用过没有问题!
4、用cmake编译。
5、VS2008编译错误(部分错误,大部分都是一样的错误),
>------ Build started: Project: osgAudio, Configuration: RelWithDebInfo Win32 ------
1>Compiling...
1>Version.cpp
1>Stream.cpp
1>E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendOpenALpp/StreamOpenALpp.h(46) : error C2011: 'osgAudio::Stream' : 'class' type redefinition
1> E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendFMOD/StreamFMOD.h(47) : see declaration of 'osgAudio::Stream'
1>Source.cpp
1>E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendOpenALpp/SourceOpenALpp.h(51) : error C2011: 'osgAudio::Source' : 'class' type redefinition
1> E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendFMOD/SourceFMOD.h(51) : see declaration of 'osgAudio::Source'
1>E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendOpenALpp/SampleOpenALpp.h(45) : error C2011: 'osgAudio::Sample' : 'class' type redefinition
1> E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendFMOD/SampleFMOD.h(46) : see declaration of 'osgAudio::Sample'
1>E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendOpenALpp/StreamOpenALpp.h(46) : error C2011: 'osgAudio::Stream' : 'class' type redefinition
1> E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendFMOD/StreamFMOD.h(47) : see declaration of 'osgAudio::Stream'
1>SoundState.cpp
1>E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendOpenALpp/SourceOpenALpp.h(51) : error C2011: 'osgAudio::Source' : 'class' type redefinition
1> E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendFMOD/SourceFMOD.h(51) : see declaration of 'osgAudio::Source'
1>E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendOpenALpp/ListenerOpenALpp.h(44) : error C2011: 'osgAudio:istener' : 'class' type redefinition
1> E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendFMOD/ListenerFMOD.h(45) : see declaration of 'osgAudio::Listener'
1>E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendOpenALpp/SampleOpenALpp.h(45) : error C2011: 'osgAudio::Sample' : 'class' type redefinition
1> E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendFMOD/SampleFMOD.h(46) : see declaration of 'osgAudio::Sample'
1>E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendOpenALpp/StreamOpenALpp.h(46) : error C2011: 'osgAudio::Stream' : 'class' type redefinition
1> E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendFMOD/StreamFMOD.h(47) : see declaration of 'osgAudio::Stream'
1>E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendFMOD/FileStreamFMOD.h(46) : error C2504: 'osgAudio::Stream' : base class undefined
1>E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendOpenALpp/FileStreamOpenALpp.h(46) : error C2011: 'osgAudio::FileStream' : 'class' type redefinition
1> E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendFMOD/FileStreamFMOD.h(46) : see declaration of 'osgAudio::FileStream'
1>E:\OSGCompile\Audio\osgaudio\include\osgAudio/SoundState.h(277) : error C2027: use of undefined type 'osgAudio::Source'
1> E:\OSGCompile\Audio\osgaudio\include\osgAudio/BackendFMOD/SourceFMOD.h(51) : see declaration of 'osgAudio::Source'
1>E:\OSGCompile\Audio\osgaudio\include\osgAudio/SoundState.h(277) : error C2039: 'getState' : is not a member of 'osg::ref_ptr<T>' |
|