The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message



Forums
error: `SetMasterVolume' undeclared - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5)
+--- Thread: error: `SetMasterVolume' undeclared (/showthread.php?tid=164)



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**)'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.


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&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