[source] xj3d exception when ant computes viewpoints for scenes in example archives
Norbraten, Terry (CIV)
tdnorbra at nps.edu
Mon Jul 13 11:01:27 PDT 2015
the element
<jvmarg value="-Djava.library.path=${xj3d.dir.jars}/../${native.library.path}”/>
doesn’t look quite right to me as the natives are not in the created jar path.
Perform an: <echo message=${xj3d.dir.jars}/../${native.library.path}”/>
to see where that ends up on your machine
> On Jul 13, 2015, at 10:45 AM, Norbraten, Terry (CIV) <tdnorbra at nps.edu> wrote:
>
> I can find no ArchOnly.x3d in the X3dForAdvancedModeling/Buildings directory after an SVN update just now
>
> In any case, check the JVM args for a correct path for -Djava.library.path so that the JVM can find the ODE natives
>
>
>
>> On Jul 11, 2015, at 2:14 PM, Don Brutzman <brutzman at nps.edu> wrote:
>>
>> newly repeating exception:
>>
>> ============================================================================================================
>> Xj3D generation of Viewpoint images: C:\x3d-code\www.web3d.org\x3d\content\examples\X3dForAdvancedModeling/Buildings//ArchOnly.x3d
>> org.xj3d.core.loading.threads set to: 4
>> Jul 11, 2015 1:53:35 PM org.odejava.Odejava <clinit>
>> SEVERE: Native code library (32 and 64 bit library) failed to load: java.lang.UnsatisfiedLinkError: no odejava in java.library.path
>> Warning: ClassLoadUtilities: Cannot load Class: org.xj3d.impl.core.eventmodel.DefaultRigidBodyPhysicsManager
>> java.lang.UnsatisfiedLinkError: no odejava in java.library.path
>> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1865)
>> at java.lang.Runtime.loadLibrary0(Runtime.java:870)
>> at java.lang.System.loadLibrary(System.java:1122)
>> at org.odejava.Odejava.<clinit>(Odejava.java:103)
>> at org.xj3d.impl.core.eventmodel.DefaultRigidBodyPhysicsManager$1.run(DefaultRigidBodyPhysicsManager.java:149)
>> at org.xj3d.impl.core.eventmodel.DefaultRigidBodyPhysicsManager$1.run(DefaultRigidBodyPhysicsManager.java:142)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at org.xj3d.impl.core.eventmodel.DefaultRigidBodyPhysicsManager.<clinit>(DefaultRigidBodyPhysicsManager.java:141)
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:264)
>> at org.xj3d.ui.construct.ClassLoadUtilities$1.run(ClassLoadUtilities.java:87)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at org.xj3d.ui.construct.ClassLoadUtilities.loadClass(ClassLoadUtilities.java:82)
>> at org.xj3d.ui.construct.Construct.buildManagers(Construct.java:493)
>> at xj3d.replica.OffscreenThumbnailConstruct.buildAll(OffscreenThumbnailConstruct.java:69)
>> at xj3d.replica.SceneThumbnailImager.takeSnapshots(SceneThumbnailImager.java:331)
>> at xj3d.replica.SceneThumbnailImager.<init>(SceneThumbnailImager.java:241)
>> at xj3d.replica.Replica.main(Replica.java:84)
>>
>> org.web3d.vrml.renderer.common.nodes.shape.useMipMaps set to: true
>> org.web3d.vrml.renderer.common.nodes.shape.anisotropicDegree set to: 16
>> ============================================================================================================
>>
>> invocation from build.xml
>>
>>
>> <java classname="xj3d.replica.Replica" fork="${fork}" dir=".">
>> <classpath>
>> <pathelement path="${classpath}"/>
>> <fileset refid="xj3d.jars.all"/>
>> </classpath>
>> <!-- -Djava.library.path needs to point to jogl.dll driver -->
>> <jvmarg value="-Djava.library.path=${xj3d.dir.jars}/../${native.library.path}"/>
>> <!-- Xj3D run.args -->
>> <arg value="-mode"/><arg value="scene"/>
>> <arg value="-mipmaps"/>
>> <arg value="-antialias"/><arg value="8"/>
>> <arg value="-anisotropicDegree"/><arg value="16"/>
>> <arg value="-quiet"/> <!-- -verbose or -quiet -->
>> <arg value="-stats"/>
>> <arg value="-size"/><arg value="792x465"/>
>> <arg value="-timeout"/><arg value="20000"/><!-- ms -->
>> <!-- <arg value="-view"/><arg value="ICON_VIEWPOINT"/> -->
>> <arg value="-filePrefix"/><arg value="${name.short}"/>
>> <arg value="-outdir"/><arg value="${relative.path1}/${relative.path2}/_viewpoints"/> <!-- output directory -->
>> <arg value="${relative.path1}/${relative.path2}/${name.short}.x3d"/>
>> </java>
>>
>> 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
>
>
> _______________________________________________
> source mailing list
> source at web3d.org
> http://web3d.org/mailman/listinfo/source_web3d.org
More information about the source
mailing list