www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - DerelictFmodStudio not found...

reply WhatMeWorry <kheaser gmail.com> writes:
I followed the instructions for derelict.fmod.

// Load the Fmod library.
DerelictFmod.load();      // compiles fine.

// Load the Fmod studio library.
DerelictFmodStudio.load();

but the Studio load ..\common\derelict_libraries.d(122,5): Error: 
undefined identifier 'DerelictFmodStudio'

In the detailed example, I see the code only loads DerelictFmod.  
Is the documentation out of date?  Or am I missing something.

Thanks.
Feb 10
parent reply WhatMeWorry <kheaser gmail.com> writes:
On Saturday, 11 February 2017 at 03:10:35 UTC, WhatMeWorry wrote:
 I followed the instructions for derelict.fmod.

 // Load the Fmod library.
 DerelictFmod.load();      // compiles fine.

 // Load the Fmod studio library.
 DerelictFmodStudio.load();

 but the Studio load ..\common\derelict_libraries.d(122,5): 
 Error: undefined identifier 'DerelictFmodStudio'

 In the detailed example, I see the code only loads 
 DerelictFmod.  Is the documentation out of date?  Or am I 
 missing something.

 Thanks.
Does anybody know the exact version of fmod.dll that is needed by DerelictFmod? I don't think I can gleam this from the DUB entry. I've downloaded from FMOD's website their Windows api 1.09, 1.08, etc. and keep getting the following runtime abort: fmod.dll - %1 is not a valid Win32 application.
Feb 10
parent rikki cattermole <rikki cattermole.co.nz> writes:
On 11/02/2017 5:38 PM, WhatMeWorry wrote:
 On Saturday, 11 February 2017 at 03:10:35 UTC, WhatMeWorry wrote:
 I followed the instructions for derelict.fmod.

 // Load the Fmod library.
 DerelictFmod.load();      // compiles fine.

 // Load the Fmod studio library.
 DerelictFmodStudio.load();

 but the Studio load ..\common\derelict_libraries.d(122,5): Error:
 undefined identifier 'DerelictFmodStudio'

 In the detailed example, I see the code only loads DerelictFmod.  Is
 the documentation out of date?  Or am I missing something.

 Thanks.
Does anybody know the exact version of fmod.dll that is needed by DerelictFmod? I don't think I can gleam this from the DUB entry. I've downloaded from FMOD's website their Windows api 1.09, 1.08, etc. and keep getting the following runtime abort: fmod.dll - %1 is not a valid Win32 application.
Have you got the right dll for your executable? E.g. 32bit dll for 32bit exe?
Feb 10