LibusbJava

libusb for Java

User Tools

Site Tools


building:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
building:start [2022/06/30 13:35] ursgrafbuilding: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://gitlab.ost.ch/tech/inf/public/libusb-java]]. +The dll (from C sources) and jar-file (from java sources) must be built separately. Checkout from [[https://gitlab.ost.ch/tech/inf/public/libusb-java]]. More detailed information for the maintainers can be reached under [[https://wiki.bu.ost.ch/inf/libusbjava/start]] (for internal usage only).
  
 ===== C++ Code ===== ===== C++ Code =====
 +Source code is under /LibusbJava_C.
 +
 ==== Windows ==== ==== Windows ====
   * install MinGW or similar   * install MinGW or similar
Line 10: Line 12:
  
 ==== Linux ==== ==== Linux ====
-  * <code>g++ -shared -o libLibusbJava-"VERSION".so -fPIC LibusbJava.cpp -I"/usr/lib/jvm/java-"JAVA-VERSION"-openjdk-"ARCHITECTURE"/include" -I"/usr/lib/jvm/java-"JAVA-VERSION"-openjdk-"ARCHITECTURE"/include/linux" -I"./" -std)c++0x</code>+  * <code>g++ -shared -o libLibusbJava-"VERSION".so -fPIC LibusbJava.cpp -I"/usr/lib/jvm/java-"JAVA-VERSION"-openjdk-"ARCHITECTURE"/include" -I"/usr/lib/jvm/java-"JAVA-VERSION"-openjdk-"ARCHITECTURE"/include/linux" -I"./" -std=c++0x</code>
   * Copy so-file to /usr/lib   * Copy so-file to /usr/lib
  
 ===== Java Part ===== ===== Java Part =====
-  * Checkout from [[https://gitlab.ost.ch/tech/inf/public/libusb-java]]+Source code is under /LibusbJava_Java. 
   * Create jar file from LibusbJava_Java   * Create jar file from LibusbJava_Java
   * If changes were made in //Libusb.java// -> remake header file for LibusbJava_C with <code>   * If changes were made in //Libusb.java// -> remake header file for LibusbJava_C with <code>
building/start.1656588933.txt.gz · Last modified: 2022/06/30 13:35 by ursgraf