LWJGL Forum

Archive => FMOD => Topic started by: the2bears on June 13, 2007, 05:57:17

Title: What am I missing?
Post by: the2bears on June 13, 2007, 05:57:17
Hmmm... feel a little stupid here, must be missing something obvious.

I've never tried FMod before, trying to run the test example.  I've got LWJGL 1.1 natives in my library path, but I get this:

Code: [Select]
org.lwjgl.fmod3.FMODException: Unable to load fmod library
        at org.lwjgl.fmod3.FMOD.create(FMOD.java:292)
        at com.the2bears.test.fmod.Main.main(Main.java:63)

This part of org.lwjgl.fmod3.FMOD confuses me:

Code: [Select]
switch (LWJGLUtil.getPlatform()) {
case LWJGLUtil.PLATFORM_WINDOWS:
libname = "fmod.dll";
break;

What's going on here?  The .dll is lwjgl-fmod3.dll and that apparently gets loaded in a static block.  I'm stumped, as this is called in FMOD.create().

Bill
Title: Re: What am I missing?
Post by: Matzon on June 13, 2007, 06:55:30
you need the dll from http://fmod.org - the lwjgl-fmod3.dll is the binding dll

We don't distribute it since it isn't free - please note you should get fmod3 - not fmod4 aka fmod ex.
Title: Re: What am I missing?
Post by: the2bears on June 14, 2007, 02:22:32
you need the dll from http://fmod.org - the lwjgl-fmod3.dll is the binding dll

We don't distribute it since it isn't free - please note you should get fmod3 - not fmod4 aka fmod ex.

Well damn... it was something simple :P  Thanks for the help!

Bill