You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've come back to the assimp4java package after quite a Hiatus.
I'm having some difficulty getting the package to function as I'd expect. Right now, I have about the simplest setup possible:
I have a unit test that feeds a valid filename to a method under test. The method generates a new instance of Assimp.Loader and calls ReadFile(_filename_, 0) and stores (theoretically) the resulting aiScene in an instance variable.
Everything compiles, and I have assimp4java-0.1.1.jar, assimp_lib-3.1.1.jar, and javacpp.jar in my classpath. However, when running my unit test, it crashes with:
symbol lookup error
assimp4java-0.1.1.jar/assimp/linux-x86_64/libjniAssimp.so: undefined symbol: _ZN6Assimp8ImporterC1Ev
I've done some checking, and the symbol is most certainly present in libassimp.so. It would appear that the full assimp library is not being loaded for use by the JVM, but I went as far as extracting the .so and explicitly loading it from the java side with System.load(), and I get the same error.
Is there some pre-use setup step that I'm missing?
The text was updated successfully, but these errors were encountered:
I've come back to the
assimp4java
package after quite a Hiatus.I'm having some difficulty getting the package to function as I'd expect. Right now, I have about the simplest setup possible:
I have a unit test that feeds a valid filename to a method under test. The method generates a new instance of
Assimp.Loader
and callsReadFile(_filename_, 0)
and stores (theoretically) the resultingaiScene
in an instance variable.Everything compiles, and I have
assimp4java-0.1.1.jar
,assimp_lib-3.1.1.jar
, andjavacpp.jar
in my classpath. However, when running my unit test, it crashes with:I've done some checking, and the symbol is most certainly present in
libassimp.so
. It would appear that the full assimp library is not being loaded for use by the JVM, but I went as far as extracting the.so
and explicitly loading it from the java side withSystem.load()
, and I get the same error.Is there some pre-use setup step that I'm missing?
The text was updated successfully, but these errors were encountered: