|
Installation | Build x64 | Build x86 | Developers | Notes | Questions | Sourceforge | Download |
A number of operational issues have arisen with the use of compiled LibUSB packages downloaded from https://github.com/libusb/libusb/releases
It is now recommended that users of the JTSDK compile their own LibUSB from the latest source provided by the LibUSB Maintainers,.
These steps will demonstrate how to build and deploy a library set under the mingw64 environment for the JTSDK..
The first stage involves deploying tools as if one were building Hamlib. Many required MSYS2 tools are deployed as part of this process.
This should have now downloaded the build environment for mingw64 – providing a POSIX-compliant environment in which LibUSB code should be built.
Launch an environment that provides the native GNU compilers.
Download URL of the latest stable LibUSB. At the time of writimng the latest version was Version 1.0.27
Change to the directory that you have just downloaded this source package to from within a msys64 shell::
Extract the source package (assuming Version 1.0.27) with:
The following set of steps actually configures and builds the library.
The above command places all that is built into the subdirectory /tmp/libusb . This way the built libraries are easy to find.
You will find a structure inside /tmp (windows path C:\msys64\tmp\portaudio) that contains the same LibUSB library structure. .
Rename the directory /tmp/libusb to a name that6 best fits the "structuring" of the JTSDK. In this case we assume that source for v 1.0.27 has been used
Deliver that folder structure to X:\JTSDK64-Tools\tools\libusb .
Make the appropriate adjustment in C:\JTSDK64-Tools\config\Versions.ini so that it can be used by the JTSDK.
Close all JTSDK64-Rools and MSYS2/mingw64 windows.
When you re-open all the windows hopefully you will be able to use your compiled LibUSB packages with the JTSDK.
Author: Steve VK3VM/VK3SIR | Contact |