Exploring further, I’m cribbing from the examples in @ertugrulcetin’s [jme-clj](https://github.com/ertugrulcetin/jme-clj/)
repository, specifically this one. @ertugrulcetin’s dependencies are as follows:
(def jme-version "3.3.2-stable")
...
:dependencies [[org.clojure/clojure "1.10.1"]
[org.jmonkeyengine/jme3-core ~jme-version]
[org.jmonkeyengine/jme3-plugins ~jme-version]
[org.jmonkeyengine/jme3-terrain ~jme-version]
[org.jmonkeyengine/jme3-jogg ~jme-version]
[org.jmonkeyengine/jme3-jogl ~jme-version]
[org.jmonkeyengine/jme3-effects ~jme-version]
[org.jmonkeyengine/jme3-desktop ~jme-version]
[org.jmonkeyengine/jme3-lwjgl ~jme-version]
[org.jmonkeyengine/jme3-niftygui ~jme-version]
[org.jmonkeyengine/jme3-networking ~jme-version]
[org.jmonkeyengine/jme3-blender ~jme-version]
[camel-snake-kebab "0.4.2"]
[com.github.stephengold/Minie "3.1.0"]
[kezban "0.1.92"]
[potemkin "0.4.5"]]
His code works.
I had tried to upgrade jme-version
to 3.6.1-stable
, but this failed because
jme3-lwjgl-3.6.1-stable.pom
referenceslwjgl
, and- both
jme3-lwjgl-3.6.1-stable.pom
andlwjgl/2.9.5/lwjgl-2.9.5.pom
referencelwjgl-platform
; but - although the POM for
lwjgl-platform-2.9.5
exists in public repositories, there’s no related JAR file (and actually the manifest in the POM does not advertise that there will be).
I found this apparently-related query, and tried the recommended fix of specifying JME version 3.7.0-SNAPSHOT
; that did not exist in public repos, but 3.7.0-beta1
did. However, I then saw
Exception in thread "jME3 Main" java.lang.NoClassDefFoundError: com/jme3/system/NativeLibraries
This query appeared relevant, so I added the jbullet
dependency, but the stack-alloc.jar
file doesn’t exist in the 3.7 branch of the git repository; so for the time being I’m once again stuck.
OK, if I reset all JME3 dependency versions to 3.3.2, I get no further errors. Attempting to load a .glb
file created with @sgold’s Maud results in an instance of com.jme3.scene.Node
being created, and although I’m not yet seeing it in the scene (possibly because of lighting problems?), I think this problem is mostly resolved.
I’d like to get to the point I can use current stable JME libraries with jme-clj
, but that’s a separate problem!