Hello Guest

FMOD and Intel Mac

  • 8 Replies
  • 17270 Views
*

Offline Spezi

  • *
  • 43
FMOD and Intel Mac
« on: September 30, 2006, 01:12:49 »
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:
Code: [Select]

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?

*

Offline Matzon

  • *****
  • 2242
FMOD and Intel Mac
« Reply #1 on: September 30, 2006, 07:59:35 »
is the file available at that location ?
can anyone else confirm this behaviour?

*

Offline Spezi

  • *
  • 43
FMOD and Intel Mac
« Reply #2 on: September 30, 2006, 21:01:19 »
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?

*

Offline Matzon

  • *****
  • 2242
FMOD and Intel Mac
« Reply #3 on: September 30, 2006, 22:18:38 »
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 ?

*

Offline Spezi

  • *
  • 43
FMOD and Intel Mac
« Reply #4 on: October 01, 2006, 00:06:57 »
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.

*

Offline Spezi

  • *
  • 43
FMOD and Intel Mac
« Reply #5 on: October 13, 2006, 20:53:29 »
Any solution yet? :roll:

FMOD and Intel Mac
« Reply #6 on: October 21, 2006, 00:48:00 »
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.

*

Offline Matzon

  • *****
  • 2242
FMOD and Intel Mac
« Reply #7 on: October 21, 2006, 06:23:41 »
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

*

Offline Spezi

  • *
  • 43
Re: FMOD and Intel Mac
« Reply #8 on: January 14, 2007, 14:00:08 »
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. :)