[Source] win64 joal workaround, need proper joal_native.dll

Don Brutzman brutzman at nps.edu
Thu Jun 7 13:39:36 PDT 2012


offline rendering is not finding the windows 64-bit joal.dll in the build

i searched around quite a bit, couldn't find one except a 32-bit one at
http://download.java.net/media/joal/builds/archive/1.1.1/joal-1.1.1-windows-i586.zip 
dated  03-Jul-2007

looking at it under cygwin confirmed that it is 32-bit:

brutzman at IT153485 /cygdrive/c/Xj3D.nps/natives/x86_64/win
$ file joal_native.dll
joal_native.dll: PE32 executable (DLL) (GUI) Intel 80386, for MS Windows

but even so, I dropped it into the branch directory
	C:\Xj3D.nps\natives\x86_64\win
this (incorrect) dll at least helped, since it silenced the blocking exception
which prevented proper operation of the offline renderer.

can somebody find a proper joal_native.dll?

exception (for me, temporarily silenced by this workaround) follows.

> C:\www.web3d.org\x3d\content\examples\Savage/Buildings/HouseBarisAktop/Bathtub.x3d processing with Xj3D -captureViewpoints
> [java jvmarg -Djava.library.path=C:/Xj3D.nps/jars/../natives/x86_64/win]
> Message: Initializing Browser
> Jun 7, 2012 11:50:09 AM org.odejava.Odejava <clinit>
> INFO: OdeJava natives version 0.3.4 loaded.
> Message: Device found: Mouse-0
> Message: Device found: Keyboard-0
> Warning: Native image loaders not available
> 
> Could not find ./doc/javaHelp/Xj3DHelpSet.hs
> org.web3d.vrml.renderer.common.nodes.shape.useMipMaps set to: true
> Message: Main scene: file:///C:/www.web3d.org/x3d/content/examples/Savage/Buildings/HouseBarisAktop/Bathtub.x3d loaded.
> Error: An error occurred during the audio surface initialisation proces
> Contained message: 
> net.java.games.joal.ALException: java.lang.UnsatisfiedLinkError: no joal_native in java.library.path
> java.lang.UnsatisfiedLinkError: no joal_native in java.library.path
> 	at net.java.games.joal.ALFactory.initialize(ALFactory.java:58)
> 	at net.java.games.joal.ALFactory.getAL(ALFactory.java:69)
> 	at org.j3d.aviatrix3d.output.audio.OpenALAudioDevice.draw(OpenALAudioDevice.java:231)
> 	at org.j3d.aviatrix3d.pipeline.audio.DefaultAudioPipeline.render(DefaultAudioPipeline.java:201)
> 	at org.j3d.aviatrix3d.management.SingleDisplayCollection.process(SingleDisplayCollection.java:230)
> 	at org.j3d.aviatrix3d.management.SingleThreadRenderManager.run(SingleThreadRenderManager.java:818)
> 	at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.UnsatisfiedLinkError: no joal_native in java.library.path
> 	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
> 	at java.lang.Runtime.loadLibrary0(Runtime.java:823)
> 	at java.lang.System.loadLibrary(System.java:1028)
> 	at net.java.games.joal.impl.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:111)
> 	at net.java.games.joal.impl.NativeLibLoader.access$000(NativeLibLoader.java:45)
> 	at net.java.games.joal.impl.NativeLibLoader$1.run(NativeLibLoader.java:71)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at net.java.games.joal.impl.NativeLibLoader.load(NativeLibLoader.java:64)
> 	at net.java.games.joal.ALFactory.initialize(ALFactory.java:54)
> 	... 6 more
> BUILD STOPPED (total time: 83 minutes 19 seconds)

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman



More information about the Source mailing list