Installing Developer Tools: Common - johnttaylor/epc GitHub Wiki

The following tools are required for developing software for the GM6000, and they should be installed on both the development machine and the build server.

Note: Refer to the canonical tool version page for the required version of each tool being installed.

Installing Python

  1. Download Python 3.11.

  2. Run the python-3.11.•-amd64.exe install program.

  3. Select Add python.exe to PATH.

  4. Select Customize installation. image

  5. On the Optional Features page, select all available options and then select Next. image

  6. On the Advanced Options page, select Install Python 3.11 for all users.

    This selects the first five advanced options. Downloading debugging symbols and binaries is optional.

  7. Leave the default installation location.

  8. Select Install. image

  9. Select Close.

  10. Verify the installation by opening Command Prompt and entering python --version.

Note: In some cases, the installation program may not set the application association correctly, and Windows will open the Microsoft store when you try to run Python from a command prompt. Refer to this link for information on how to correct the application association.

Installing Git

Here are the Developer Git Install instructions.

Installing Unix tools

For Windows host, the basic Unix tools (e.g. ls, rm, grep, etc.) need to be installed. These tools are installed as part of the Windows GIT Client software. If you followed the GIT install instructions no additional action is needed. If not, you will need to make sure that Unix tools installed on your Windows box have been added to the system environment variables Path.

Installing Doxygen

  1. Go to the Doxygen > Downloads page and download the latest binary distribution for Windows. Later versions, like doxygen-1.9.•-setup.exe support 64-bit Windows distributions.
  2. Run the installer, and select Yes to allow the installation program to make changes to your machine.
  3. Accept the license agreement and select Next.
  4. Accept the default install options by selecting Next.
  5. Select Install.
  6. Select Next and then select Finish.
  7. From a command prompt enter doxygen -v to verify that Doxygen is installed.

If the installer did not do so, add the path to doxygen.exe to the system environment variables Path (e.g., "C:\Program Files\doxygen\bin").

Note: You will need to install the following tools to use Doxygen:

  • Graphviz — for drawing directed graphs
  • Microsoft Help Compiler — for compiling all of the HTML pages into a single .chm Windows help file.

Installing Graphviz

  1. Download the latest 64-bit Graphviz installer.
  2. Run the installer and accept the default install options

Installing the Microsoft Help Compiler

  1. Download the Microsoft HTML Help Workshop compiler.
  2. Run the installer and accept the default options. You will see a message that you "already have a newer version of HTML Help". Ignore this message. This message refers to the run-time components for displaying HTML Help on Windows, and on current computers, the existing runtimes will always newer than those in the HTML Help Workshop package.
  3. From a command prompt enter hhw to verify that help compiler is installed.

If the installer did not do so, add the path to hhw.exe to the system environment variables Path (e.g., "C:\Program Files (x86)\HTML Help Workshop").

Installing gcovr

gcovr is a Python library for generating code coverage metrics.

  1. To install gcovr enter the following in a command prompt window: pip install gcovr

Installing pexepect

pexpect is a Python library that is needed by the automated test tool ratt.

  1. To install pexpectenter the following in a command prompt window: pip install pexpect

Installing MinGW-w64 Compiler (aka GCC for Windows)

To install the MinGW-w64 compiler, follow the Installing the MinGW Compiler instructions.

Installing Visual Studio.

  1. Download and run the latest Visual Studio Community Installer.

  2. Select Yes to allow the Visual Studio Installer to make changes to your machine.

  3. Select Continue.

  4. From the Workloads tab select the following:

    • .NET desktop development

      image

    • Desktop developmment with C++

      image

  5. Select Install.

  6. After the installation completes, click OK.

  7. In a command prompt window, enter dotnet --version to verify the installation completed successfully.

Installing 7-Zip

7 Zip is used to package up build artifacts into ZIP files. While it is technically not required to be installed on the developer machine, it is still a very handy tool to have available.

  1. Download the latest 64-bit 7-Zip installer.
  2. Run the installer and accept the default options.
  3. Add the 7-Zip directory (e.g. C:\Program Files\7-Zip) to the Windows command path
  4. In a command prompt window, enter 7z -h to verify the installation completed successfully.