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

Alan Hudson alan at shapeways.com
Thu Jun 7 14:27:11 PDT 2012


On 6/7/2012 2:24 PM, Don Brutzman wrote:
> On 6/7/2012 1:59 PM, Alan Hudson wrote:
>> [...]
>> best I can joal tell is dead dead. unlike JOGL that managed to get switched over properly to 64 bit I don't think JOAL ever did. I also seem to remember that having 32 bit joal in a 64 bit machine will really mess it up.
> well, am getting an occasional error as follows.  didn't notice and
> smoke or breaking glass.
>
> net.java.games.joal.ALException: java.lang.UnsatisfiedLinkError: C:\Xj3D.nps\natives\x86_64\win\joal_native.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
> 	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)
>
>>   locally I've just given up on audio and removed it.
> should this be a default for Xj3D, or a switch for turning off?
switch would be good.  Xj3DBrowser at one time had something like this.
> similarly, do the replica classes turn audio off?  am keen to use those
> when we have a chance to figure it out.
I think replica doesn't setup audio at all but I don't remember very well.

On my machine I think I kept joal.jar but removed the dll.  This seemed 
to work fine.

-- 
Alan Hudson, Director 3D Tools
www.shapeways.com




More information about the Source mailing list