FMOD and Intel Mac

Started by Spezi, September 30, 2006, 01:12:49

Previous topic - Next topic

Spezi

I can't get FMOD 3.75 working with LWJGL 1.0 Beta 3 under Mac OS X x86.  :cry:

I get the following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /Users/Spezi/Documents/game/lib/lwjgl/native/macosx/liblwjgl-fmod3.jnilib: 
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
	at java.lang.Runtime.loadLibrary0(Runtime.java:822)
	at java.lang.System.loadLibrary(System.java:992)
	at org.lwjgl.fmod3.FMOD$1.run(FMOD.java:235)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.lwjgl.fmod3.FMOD.loadLibrary(FMOD.java:228)
	at org.lwjgl.fmod3.FMOD.initialize(FMOD.java:211)
	at org.lwjgl.fmod3.FMOD.<clinit>(FMOD.java:199)


Does anyone know which additional files I may need or what else could fix this problem?
Ich bin, ich weiß nicht wer.
Ich komme, ich weiß nicht woher.
Ich gehe, ich weiß nicht wohin.
Mich wundert, dass ich so fröhlich bin.

Matzon

is the file available at that location ?
can anyone else confirm this behaviour?

Spezi

The path should be right.

In Windows i need to copy fmod.dll (from the Windows version of the official FMOD API) into the folder with lwjgl-fmod3.dll to get FMOD working.

For Mac OS X i copied all 5 files (from the Mac OS X version of the API) into the folder with liblwjgl-fmod3.jnilib since I wasn't sure which of these files would be needed.
Do I have to rename one/some of them?

Or any other suggestions?
Ich bin, ich weiß nicht wer.
Ich komme, ich weiß nicht woher.
Ich gehe, ich weiß nicht wohin.
Mich wundert, dass ich so fröhlich bin.

Matzon

lwblwjgl-fmod is statically linked with fmod on mac, since they don't provide a dynamic version - so you only need that - and nothing else - so try removing those fmod things that you put in there ?

Spezi

Quote from: "Matzon"so try removing those fmod things that you put in there ?

Sorry for not mentioning... that was the first scenario. I put in the other files afterwards.
Ich bin, ich weiß nicht wer.
Ich komme, ich weiß nicht woher.
Ich gehe, ich weiß nicht wohin.
Mich wundert, dass ich so fröhlich bin.

Spezi

Any solution yet? :roll:
Ich bin, ich weiß nicht wer.
Ich komme, ich weiß nicht woher.
Ich gehe, ich weiß nicht wohin.
Mich wundert, dass ich so fröhlich bin.

vbuser1338

I am having the same problem as said here.  I have it working on an older non-intel mac but on an intel mac it will not work.  Has anyone found a solution to this yet?
Thanks.

Matzon

come to think of it - I only think its linked against ppc - I have no idea of how to do a liblwjgl-fmod that links aginst both architectures - and I can't test it since I dont have access to an  x86 mac, yet - still saving up

Spezi

FMOD now works under Mac OS X x86. :D
I tested it again with LWJGL 1.0beta4 and you just need liblwjgl-fmod3.jnilib from the lwjgl_optional-1.0beta4.zip package.

Thanks guys. :)
Ich bin, ich weiß nicht wer.
Ich komme, ich weiß nicht woher.
Ich gehe, ich weiß nicht wohin.
Mich wundert, dass ich so fröhlich bin.