LWJGL Forum

Please login or register.

Login with username, password and session length

Author Topic: What am I missing?  (Read 6980 times)

the2bears

  • Talks Too Much
  • ***
  • Offline Offline
  • Posts: 117
What am I missing?
« 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
Logged
the2bears - the indie shmup blog

Matzon

  • Demigod
  • *****
  • Offline Offline
  • Posts: 2242
Re: What am I missing?
« Reply #1 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.

the2bears

  • Talks Too Much
  • ***
  • Offline Offline
  • Posts: 117
Re: What am I missing?
« Reply #2 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
Logged
the2bears - the indie shmup blog