|
Installation | Build x64 | Build x86 | Developers | Notes | Questions | Sourceforge | Download |
Note: This page has been deprecated in favour of x86 and x64 build notes.
This kit maintains two environments:
Only the mingw64 will be actively discussed on this site (although techniques for 32-bit builds within a 64-bit environment are provided under the JTSDK-3.2.0-stream)
Note that this document provides many generalisations to simplify discussion. Please research each tool fully beofer use.
The following site may be a good place to start your learning exercise add C:\JTSDK64-Tools\tools to any paths shown in this video):
As stated above this highly scriptable environment basically provides a raft of environment variables that aid in accessing many of the libraries needed to build Hamlib and JT-ware.
The environment is quite complex and is far too complex in reality to dicuss here. It should be dissected as follows:
Examine the PowerShell commandlets found in:
The most important script to examine is jtbuild.ps1 should you feel that you have a need to use this environment to automate build processes.
MSYS2 is software distribution and a building platform for Windows. It provides a Unix-like environment, a command-line interface and a software repository making it easier to install, use, build and port software on Windows. That means Bash, Autotools, Make, Git, GCC, GDB..., all easily installable through pacman, a fully-featured package manager (ref: https://www.msys2.org/wiki/MSYS2-introduction/).
Red the descriptions at https://www.msys2.org/wiki/MSYS2-introduction/ carefully before proceding further.
Libraries and tools are added via the pacman package manager.
The example below demonstrates how to add packages within the MSYS2 environment:
The JTSDK requires that the Qt-SDK and its mingw81 or mingw112 support be deployed.
This mingwXX support tools provide the GNU compilers and access to the rich Qt-compiler library setsTo access this environment perform the following steps inside the JTSDK64-Tools environment:
This should now provide access to an environment (with cmake provided) where software can be built.
This is now the recommended environment for developing any software within the JTSDK.
This provides a stand-alone set of GNU compilers. All relies on the libraries and tools delivered to the MSYS2 base environment.
This in itself can be somewhat tricky; some tools are delivered ONLY for the mingw64 environment; others are for the base MSYS2 environment.
Sometimes we need to "break rules" and set software configuration and build options so that they search both the mingw64 and MSYS2 directory source paths.
To access this environment:
This should now provide access to an environment where software can be built according to the Linux build instructions.
The aim is to make as many scripts and utilities as possible compatible with a mingw32 environment or for scripts to require minimal adjustmen/patches to compile x86 software,
Work on this task will be ongoing. It is possible that future kits may disable these environments.
The clang64 and ucrt64 environments will not be covered or supported by the JTSDK. See:
Author: Steve VK3VM/VK3SIR | Contact |