Re: Star Gauge 0.3 alpha (May 10th)

“This application has failed to start because fmod.dll was not found.” Turning sounds off doesn’t help.

WinXP, Java 1.5.0_3

Crap, I had the fmod.dll in my bin directory.

I don’t know why it’s not working. Anyone with more native webstart deployment experience have any suggestions?

are you sure that nativefmod actually works with webstart?
I know that lwjgl-fmod does 8)

[quote]are you sure that nativefmod actually works with webstart?
I know that lwjgl-fmod does 8)
[/quote]
It worked when fmod.dll was in my java/bin directory, so it should, I think…

Know of any LWJGL jnlp files I can check out to see what I goofed on?

http://lwjgl.org/jnlp/lwjgl-demo.php/test.fmod3.NetTest

however, lwjgl-fmod != NativeFmod
and from what I am reading, I think the issue is with NativeFmod.

I’m using LWJGL fmod in my game and it works perfectly well. Make sure that everything is properly packaged and described in your .jnlp file.

When I had the fmod.dll in my bin directory, I was able to hit the webstart link, get down the jars and it all executed properly. So I don’t think it’s a problem with nativefmod as much as my jnlp files telling webstart how to get ahold of the native fmod.dll

How is the fmod.dll bundled with lwjgl? What is included in the jar file that contains it?

Simply package fmod.dll in signed jar and declare it as a native lib in your webstart file.

[quote]Simply package fmod.dll in signed jar and declare it as a native lib in your webstart file.
[/quote]
That’s what I did, which produces this message:

“This application has failed to start because fmod.dll was not found.”

To access a native library with webstart, is there something special that has to be done in your code? I wouldn’t think so, but maybe? How does the jre get the library path?

Maybe you’re running in a webstart cache problem or the problem resides between your screen and your chair. :wink: joke

I think the jnlp file is cached by the browser and that your actually getting an old version. When you get the error message from webstart. Click on the button that shows the jnlp file. Make sure that the it is up to date and the jar with the dll is referenced in the jnlp file. Getting a fresh jnlp can be tricky without completely clearing the browser cache. You could try (ctrl or alt) + reload.