Trouble with RevolutionPi Digital IO Module component

Hi everyone,

I’m running OpenEMS Edge on a Revolution Pi with a 64-bit (AARCH64) OS, and I’m having trouble getting the IO.RevolutionPi.DigitalIO component to work.

When the component activates, I get this error:

java.lang.NoClassDefFoundError: Could not initialize class org.clehne.revpi.dataio.DataInOut
Caused by: java.lang.UnsatisfiedLinkError: wrong ELF class: ELFCLASS32

From what I understand, the native .so library inside the org.clehne.revpi.dataio package is compiled for 32-bit ARM, but my system is 64-bit. So it fails to load.

Has anyone run into this before?
Is there a 64-bit version of this library available, or maybe a known workaround to get digital I/O working on a 64-bit RevPi?

Any help would be really appreciated!

Thanks a lot,
Khalid

Just recompile it for 64-bit?

Greetings ! :slight_smile: