This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| building:start [2022/06/17 16:44] – ursgraf | building:start [2022/06/30 13:53] (current) – [Java Part] ursgraf | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Building ====== | ====== Building ====== | ||
| - | The dll (from C sources) and jar-file (from java sources) must be built separately. Checkout from [[https:// | + | The dll (from C sources) and jar-file (from java sources) must be built separately. Checkout from [[https:// |
| - | + | ||
| - | ===== Java Part ===== | + | |
| - | * Checkout from [[https://gitlab.ost.ch/tech/inf/public/libusb-java]]. | + | |
| - | * Create jar file from LibusbJava_Java | + | |
| - | * If changes were made in // | + | |
| - | $javah ch.ntb.inf.libusb.Libusb | + | |
| - | </ | + | |
| ===== C++ Code ===== | ===== C++ Code ===== | ||
| + | Source code is under / | ||
| + | |||
| ==== Windows ==== | ==== Windows ==== | ||
| * install MinGW or similar | * install MinGW or similar | ||
| Line 17: | Line 12: | ||
| ==== Linux ==== | ==== Linux ==== | ||
| - | | + | * < |
| - | * Bash zu LibusbJava_C Ordner | + | * Copy so-file to /usr/lib |
| - | | + | |
| - | * Erstellte .so nach / | + | ===== Java Part ===== |
| + | Source code is under / | ||
| + | |||
| + | * Create jar file from LibusbJava_Java | ||
| + | * If changes were made in // | ||
| + | $javah ch.ntb.inf.libusb.Libusb | ||
| + | </ | ||