Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error: `SetMasterVolume' undeclared
12-08-2005, 08:56 AM,
#1
error: `SetMasterVolume' undeclared
Hi! I'm trying to compile vdrift-2005-11-03-src on Slackware 10.1 (2.6.10 kernel) with libsdl-1.2.8 and with libfmod.This was the command I used with scons:./scons.py fmod=1 bin=/usr/local/bin prefix=/usr/local/games/vdriftI got the following errors:<pre>g++ -Wall -Wno-non-virtual-dtor -g -O2 -DVERSION=\"2005-12-08\" -DHAVE_FMOD=1 -D_REENTRANT -DDATA_DIR=\"/usr/local/games/vdrift\" -DSETTINGS_DIR=\".vdrift\" -Iinclude -I/usr/include/SDL -c -o build/main.o src/main.cppsrc/main.cpp: In function `int main(int, char**)'Confusedrc/main.cpp:1889: error: `SetMasterVolume' undeclared (first use this function)src/main.cpp:1889: error: (Each undeclared identifier is reported only once for each function it appears in.)src/main.cpp: At top level:include/fmod/fmod_errors.h:5: warning: `char* FMOD_ErrorString(int)' defined but not usedscons: *** [build/main.o] Error 1scons: building terminated because of errors.</pre>Thanks.
Reply
12-08-2005, 10:40 AM,
#2
error: `SetMasterVolume' undeclared
We're not really supporting FMOD anymore, although someone else is free to keep it working, if they want. Try OpenAL.
Reply
12-08-2005, 11:18 AM,
#3
error: `SetMasterVolume' undeclared
OK, thanks, will try OpenAL.
Reply
12-08-2005, 04:57 PM,
#4
error: `SetMasterVolume' undeclared
I guess it's about time I removed the FMOD switch from the SCons build setup. We could cut the FMOD code out of sound.h/cpp as well, and remove the include files. Oh yeah, and we could remove it from the first splash screen.
Reply
12-08-2005, 07:12 PM,
#5
error: `SetMasterVolume' undeclared
thelusiv Wrote:I guess it's about time I removed the FMOD switch from the SCons build setup. We could cut the FMOD code out of sound.h/cpp as well, and remove the include files. Oh yeah, and we could remove it from the first splash screen.
i think this should only be done when the OpenAL backend finally works on Mac OS Xcurrently it outputs only noise and then leads to a crash
Reply
12-08-2005, 07:23 PM,
#6
error: `SetMasterVolume' undeclared
Can you provide a backtrace for that crash?What version of OpenAL are you using? Someone submitted a patch that should make VDrift able to use OpenAL 1.1, have you tried that? Are there any open source applications which use OpenAL on OS X where we could find examples of how to get it working correctly?
Reply
12-08-2005, 09:22 PM,
#7
error: `SetMasterVolume' undeclared
Should I upgrade the code to use OpenAL 1.1?
Reply
12-08-2005, 10:59 PM,
#8
error: `SetMasterVolume' undeclared
i was using the version of OpenAL v1.2 that is shipped with Mac OS X 10.4yeah i can provide a backtrace in the next days...
Reply
12-10-2005, 06:33 PM,
#9
error: `SetMasterVolume' undeclared
thelusiv Wrote:Can you provide a backtrace for that crash?What version of OpenAL are you using? Someone submitted a patch that should make VDrift able to use OpenAL 1.1, have you tried that? Are there any open source applications which use OpenAL on OS X where we could find examples of how to get it working correctly?
ok here is the situation regarding vdrift+openal+osx:using the builtin openal 1.2 framework provided with macosx 10.4 leads to weird crashes in the sound thread deep in apple's code...i tried to debug that but wasn't successful. using the old openal 1.0 framework from crative WORKS, but this isn't a good path moving forward (no intel version etc)also the 1.0 framework from creative pulls in the Carbon headers, which define "Button" which clashes with a symbol defined in vdrift for joysticks...i couldn't find the openal 1.1 patch, where is it? could try that out...the crashes in the sound thread look like this:Thread 3 Crashed:0 ....audio.toolbox.AudioToolbox 0x940ee640 NativeInt16ToFloat32_Altivec + 6121 ....audio.toolbox.AudioToolbox 0x940ee35c PCMConverter::ConvertBufferList(unsigned long, CABufferList const*, CABufferList*) + 1482 ....audio.toolbox.AudioToolbox 0x940ed130 CBRConverter::RenderOutput(CABufferList*, unsigned long, unsigned long&amp;, AudioStreamPacketDescription*) + 2043 ....audio.toolbox.AudioToolbox 0x940ece5c BufferedAudioConverter::FillBuffer(unsigned long&amp;, AudioBufferList&amp;, AudioStreamPacketDescription*) + 2924 ....audio.toolbox.AudioToolbox 0x940ecfd8 AudioConverterChain::RenderOutput(CABufferList*, unsigned long, unsigned long&amp;, AudioStreamPacketDescription*) + 1365 ....audio.toolbox.AudioToolbox 0x940ece5c BufferedAudioConverter::FillBuffer(unsigned long&amp;, AudioBufferList&amp;, AudioStreamPacketDescription*) + 2926 ....audio.toolbox.AudioToolbox 0x940ecce8 AudioConverterFillComplexBuffer + 2807 openal.dylib 0x00f18c9c OALSource::wink: + 53238 com.apple.audio.CoreAudio 0x9140f230 HP_IOThread::WorkLoop() + 115639 com.apple.audio.CoreAudio 0x9140ed98 HP_IOThread::ThreadEntry(HP_IOThread*) + 1640 com.apple.audio.CoreAudio 0x913fff7c CAPThread::Entry(CAPThread*) + 9641 libSystem.B.dylib 0x9002b200 _pthread_body + 96
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)