How to build libkrunchjni.so on non-x86/arm Linux platform?
OvOla2 opened this issue · 13 comments
I am preparing to use this mod on a non-X86/ARM Linux platform, but it seems that I cannot use it due to native libraries compatibility issues.
*This Linux distribution is based on glibc.
Looks like we're detecting the platform wrong - error message says 32-bit, but later in the log Minecraft claims 64 bit. Can you confirm you are using 64 bit arm?
Looks like we're detecting the platform wrong - error message says 32-bit, but later in the log Minecraft claims 64 bit. Can you confirm you are using 64 bit arm?
No, I am using loongarch64. Neither arm32 nor arm64.
That looks pretty specialized, we can't promise support for that. I'll look into it though, but snapdragon and arm cortex seem to work.
That looks pretty specialized, we can't promise support for that. I'll look into it though, but snapdragon and arm cortex seem to work.
In addition to x86/arm, there are many other instruction set architectures (ISAs) in the world, including but not limited to riscv64, loongarch64,mipsel64, ppc64, etc. I am trying to make this mod run on these platforms, which is why I am asking this question.🤔
@OvOla2 Krunch is a closed source c++ physics engine developed by Triode, one of the main developers of vs2
@OvOla2 Krunch is a closed source c++ physics engine developed by Triode, one of the main developers of vs2
Oh, it's really surprising that krunch is a closed-source library, considering VS is an open-source mod. A closed-source library undoubtedly makes the porting process much more difficult.
This library appears to use JNI to call Krunch.
So what is Krunch? How is this native library specifically generated?
This should be important for solving this problem.
*Sorry, An unfortunate mistouch issue led to the closure of this question.
Essentially, it's an issue with krunch being unable to find GLibCs byte buffer function for some reason, so your install may be an issue. There would be very little to do in krunch to fix that.
Also don't open and close the issue without reason repeatedly, github counts it as spam.