Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/usb4java/libusb4java
The native JNI library used by usb4java
https://github.com/usb4java/libusb4java
Last synced: 18 days ago
JSON representation
The native JNI library used by usb4java
- Host: GitHub
- URL: https://github.com/usb4java/libusb4java
- Owner: usb4java
- License: mit
- Created: 2014-02-16T15:05:24.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-04-15T15:26:10.000Z (7 months ago)
- Last Synced: 2024-07-31T22:57:10.667Z (3 months ago)
- Language: C
- Size: 133 KB
- Stars: 56
- Watchers: 8
- Forks: 49
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
This is the source code of the JNI wrapper for libusb. usb4java
already includes prebuilt libraries for the following platforms:* linux-x86
* linux-x86-64
* linux-arm
* linux-aarch64
* win32-x86
* win32-x86-64
* darwin-x86-64
* darwin-arm-64If you need the library on an other platform then you can easily compile it
yourself. On a Unix-compatible operating system you only need the Java JDK,
an up-to-date libusb library version, the GNU C compiler and cmake. When
everything is correctly installed then you should be able to build the
library with the following commands:$ mkdir build
$ cd build
$ cmake ..
$ makeWhen compilation was successful then you can find the library in the
`build/src` directory.usb4java searches for the library in the CLASSPATH directory
`org/libusb4java/-/`. On a 32 bit x86 linux machine for
example the directory name is `org/libusb4java/linux-x86`. Usually
you can find the required name in the exception thrown by usb4java when it
does not find the required library.