NeuronRobotics / nrjavaserial

A Java Serial Port system. This is a fork of the RXTX project that uses in jar loading of the native code.
Other
345 stars 143 forks source link

Support for ARMv8 (RaspberryPi 3) #97

Closed crea-doo closed 7 years ago

crea-doo commented 7 years ago

I had trouble running the lib with Oracle Java 8 on a RaspberryPi 3 and modified the make files to support building for ARMv8 platform.

Unfortunately I had some problems compiling due to a missing dependency (liblockdev) on Ubuntu 16.04.2. Compiling without liblockdev (see https://github.com/cvanorman/nrjavaserial/issues/2) worked in the meantime.

Can you provide some info on how to get this dependency on Ubuntu 16.04 or if it's ok to disable that?

madhephaestus commented 7 years ago

You can get liblockdev binary and install the .deb raw from http://packages.ubuntu.com/trusty/libs/liblockdev1 In the mean time if the package has been dropped from ubuntu, it may be worth looking into replacing it as well.