Installation of prerequisite tools¶
The following prerequisite tools must be installed on the host to use the XMOS build system (XCommon CMake) provided in this release of the XTC Tools.
The XMOS build system is required to use certain examples provided with the XTC Tools and to use these XTC Tools with other selected XMOS products.
CMake
The minimum version required is 3.21.
If you already have cmake installed you can skip this step.
Run the following command from within a Powershell to install cmake version 3.21.
winget install -e --id Kitware.CMake -v 3.21.0
Instead of using the Powershell, this version can be installed using the Windows x64 Binary Installer, from the CMake website.
When using the click-through installer, a step asks whether cmake should be added to the systyem path. Ensure this is selected so cmake may be accessed from the command-line environment (Command Prompt) used to run XTC Tools.
Git
The minimum version required is 2.25.
If you already have Git installed you can skip this step.
Run the following command from within a Powershell to install Git.
winget install -e --id Git.Git
Instead of using the Powershell, Git can be installed using the Windows x64 Binary Installer from the Git website.
When using the click-through installer, a step asks whether this tool is to be used from the command line and also from third-party software. Ensure this is selected so Git may be accessed from the command-line environment (Command Prompt) used to run XTC Tools.
Now close the Powershell. All subsequent commands must be entered in an XTC Command Prompt and the precise steps required to use this will be explained later steps.
CMake and Git can be installed from a Terminal using the Brew package manager.
CMake
The minimum version required is 3.21.
If you already have cmake installed you can skip this step.
Run the following command from within a terminal to install cmake.
brew install cmake
If brew is not available, binary installers are availabe from the CMake website.
Git
The minimum version required is 2.25.
If you already have Git installed you can skip this step.
Run the following command from within a terminal to install Git.
brew install Git
If brew is not available, other installation options are availabe at the Git website.
CMake
The minimum version required is 3.21.
If you already have cmake installed you can skip this step.
If you have Snap installed on your system, run the following command from within a terminal.
sudo snap install cmake --channel=3.21/stable
If Snap is not available, binary installers are availabe from the CMake website.
Git
The minimum version required is 2.25.
If you already have Git installed you can skip this step.
If you have Snap installed on your system, run the following command from within a terminal.
sudo snap install Git-ubuntu --classic
If Snap is not available, installers for various package managers are availabe at Git.