This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:software:porting [2010/11/22 10:35] – stefan | en:software:porting [2016/08/17 21:37] (current) – gelöscht stefan | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Porting to other Platforms / 64 Bit ====== | ||
- | |||
- | The SDK contains two platform dependent components: the JNI library of libusbJava and the [[en: | ||
- | The package contains 32 bit Linux and Windows versions of this components. 64 bit Windows is fully downward compatible, i.e. users should not need to | ||
- | recompile anything. Users of 32 bit Linux usually only need to recompile the JNI library. | ||
- | |||
- | Users who ported any component are asked to send me the libraries / binaries in order that I can include them into the SDK and make them | ||
- | usable for other users. | ||
- | |||
- | ===== Compiling the JNI library ===== | ||
- | The following description is for Unix-like operating systems. | ||
- | |||
- | - Change to the directory '' | ||
- | - Set '' | ||
- | - For other OS than Linux: replace '' | ||
- | - Run '' | ||
- | - Run '' | ||
- | |||
- | '' | ||
- | When libusbJava starts it first tries to load the shared version which uses the libusb of the system. | ||
- | version is tried which also runs on computers where no libusb is installed. | ||
- | |||
- | After a new JNI library has been compiled and installed the jar archives need to be repacked. This can be done by removing the jar file and by running make in the same directory. | ||
- | |||
- | |||
- | ===== bmp ===== | ||
- | |||
- | The [[en: | ||
- | |||
- | - Change to the directory '' | ||
- | - Run '' | ||
- | - Run '' | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | ===== Compiling | ||