Hello Guest

FMOD LinkageError on Win32 with v0.97

  • 1 Replies
FMOD LinkageError on Win32 with v0.97
« on: May 23, 2005, 18:25:51 »
With the newest version (v0.97) of LWJGL I get an LinkageError when using FMOD library.
Following Exception is thron at starting test application
Exception in thread "main" java.lang.LinkageError: Unsupported platform
        at org.lwjgl.fmod3.FMOD.constructFMODSearchPaths(FMOD.java:279)
        at org.lwjgl.fmod3.FMOD.create(FMOD.java:255)
        at org.lwjgl.test.fmod3.MusicPlayer.main(MusicPlayer.java:67)

After checking source code I figured out, this error is located in class FMOD, at "constructFMODSearchPaths()".

// determine os library name
String dllName = FMOD_WIN32_LIBRARY_NAME;
switch (LWJGLUtil.getPlatform()) {
      dllName = FMOD_OSX_LIBRARY_NAME;
      throw new LinkageError("Unsupported platform");

This construct definitely leads to this exception on any OS other than MaxOS or Linux.

Please repair this bug as fast as possible.



Offline Matzon

  • *****
  • 2242
FMOD LinkageError on Win32 with v0.97
« Reply #1 on: May 23, 2005, 21:02:16 »
it is repaired in CVS, we're waiting to release a patched release since we want to release some devil fixes too