i’d like to set the debugLogFilename in FMOD_ADVANCEDSETTINGS, but it seems i made some mistakes.
Indeed, i don’t find the log file after the execution of my program . I put the code that changes the logfilename.
FMOD_ADVANCEDSETTINGS vSettings ;
memset( &vSettings, 0, sizeof(FMOD_ADVANCEDSETTINGS)) ;
vSettings.cbsize = sizeof(FMOD_ADVANCEDSETTINGS) ;
System()->getAdvancedSettings( &vSettings ) ;
vSettings.debugLogFilename = "../fmod.log" ;
System()->setAdvancedSettings( &vSettings ) ;
It’s probably stupid but i don’t find the problem
- gothmog asked 9 years ago
This might seem basic, but why not try putting in an explicit path? If you run this it will most likely put the file in a path relative to the path that your currently in (or relative to where your IDE is running), instead of where your application is.
- CuriousG answered 9 years ago
thanks for the answers. I delete the ‘get’ and put an explicit path, but the problem was somewhere else.
I was using fmodex_vc.lib instead of fmodexL_vc.lib 😳 . I feel shameful.
Now it works well, but every time i launch my application, fmod writes the new debug informations at the end
of the old ones in the log file without clear it. Have I forgot to use an option in fmod, or is it our job to clear the
log file when we launch the application ?
- gothmog answered 9 years ago
Please login first to submit.