MASON-INTEREST-L Archives

November 2008

MASON-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Sean Luke <[log in to unmask]>
Reply To:
Date:
Wed, 26 Nov 2008 16:35:32 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (55 lines)
If you like you can eliminate the Java3D code by deleting the display3d 
and portrayal3d directories.  But it's easy to get Java3D working.  Per 
the instructions on the MASON website, if you don't have a Mac, Java3D 
has to be installed from Sun's site.

Windows:
http://java.sun.com/javase/technologies/desktop/java3d/index.jsp

Linux:
https://java3d.dev.java.net/binary-builds.html

Sean

Mark Coletti wrote:
> I have MASON running under netbeans 6.0.1.  I get the following errors
> when I run any of the 3d simulations:
> 
> run:
> java.lang.UnsatisfiedLinkError: no j3dcore-ogl in java.library.path
>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
>         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
>         at java.lang.System.loadLibrary(System.java:1030)
>         at javax.media.j3d.NativePipeline$1.run(NativePipeline.java:231)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.media.j3d.NativePipeline.loadLibrary(NativePipeline.java:200)
>         at javax.media.j3d.NativePipeline.loadLibraries(NativePipeline.java:157)
>         at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:987)
>         at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:299)
>         at javax.media.j3d.GroupRetained.<init>(GroupRetained.java:161)
>         at javax.media.j3d.TransformGroupRetained.<init>(TransformGroupRetained.java:121)
>         at javax.media.j3d.TransformGroup.createRetained(TransformGroup.java:119)
>         at javax.media.j3d.SceneGraphObject.<init>(SceneGraphObject.java:119)
>         at javax.media.j3d.Node.<init>(Node.java:178)
>         at javax.media.j3d.Group.<init>(Group.java:556)
>         at javax.media.j3d.TransformGroup.<init>(TransformGroup.java:92)
>         at sim.display3d.Display3D.<init>(Display3D.java:1130)
>         at sim.app.heatbugs3d.HeatBugs3DWithUI.init(HeatBugs3DWithUI.java:153)
>         at sim.display.Console.<init>(Console.java:981)
>         at sim.display.Console.doNew(Console.java:1728)
>         at sim.display.Console.main(Console.java:1424)
> 
> The 3d libraries are associated with the project and the .so files are
> in the ldconfig cache:
> 
> % ldconfig -p | grep j3d
>         libj3dcore-ogl.so (libc6) => /usr/local/lib/libj3dcore-ogl.so
>         libj3dcore-ogl-cg.so (libc6) => /usr/local/lib/libj3dcore-ogl-cg.so
> 
> All the other MASON simulations appear to run fine.  Again, only the
> 3D related simulations fail with the above error.
> 
> Cheers,
> 
> Mark

ATOM RSS1 RSS2