error: `SetMasterVolume' undeclared - jopher - 12-08-2005
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**)'rc/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.
error: `SetMasterVolume' undeclared - joevenzon - 12-08-2005
We're not really supporting FMOD anymore, although someone else is free to keep it working, if they want. Try OpenAL.
error: `SetMasterVolume' undeclared - jopher - 12-08-2005
OK, thanks, will try OpenAL.
error: `SetMasterVolume' undeclared - thelusiv - 12-08-2005
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.
error: `SetMasterVolume' undeclared - abs1nth - 12-08-2005
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
error: `SetMasterVolume' undeclared - thelusiv - 12-08-2005
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?
error: `SetMasterVolume' undeclared - joevenzon - 12-08-2005
Should I upgrade the code to use OpenAL 1.1?
error: `SetMasterVolume' undeclared - abs1nth - 12-08-2005
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...
error: `SetMasterVolume' undeclared - abs1nth - 12-10-2005
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&, AudioStreamPacketDescription*) + 2043 ....audio.toolbox.AudioToolbox 0x940ece5c BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, AudioStreamPacketDescription*) + 2924 ....audio.toolbox.AudioToolbox 0x940ecfd8 AudioConverterChain::RenderOutput(CABufferList*, unsigned long, unsigned long&, AudioStreamPacketDescription*) + 1365 ....audio.toolbox.AudioToolbox 0x940ece5c BufferedAudioConverter::FillBuffer(unsigned long&, AudioBufferList&, 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
|