Compilers

Corporate 057

A C++ compiler is required to prepare a Prophet model for execution. We support the Microsoft Visual Studio compiler and the GNU Compiler Collection (“GCC”). 

Compiler compatibility

Prophet Microsoft 2015 Microsoft 2017 Microsoft 2019 GNU Compiler
Collection
 11.2.0
2019 Q2
2020 Q2
2021 Q2
2022 Q1
2023 Q2
2024 Q4

Please note:

  • Clients are required to ensure compliance with the licence terms of any compiler used, and the responsibility for this remains solely with the client.
  • All releases compile the Prophet generated code using 64-bit rather than 32-bit architecture.
  • You only need to install one compiler.
  • Microsoft Compilers:
    • We only support the Express, Professional and Enterprise versions of the Microsoft Compilers.
    • Only the Build Tools component is required for the Microsoft Visual Studio 2017 and 2019 compilers but you may install the full IDE if required.
    • You must have a valid licence for Microsoft Visual Studio in order to use the Build Tools.
    • We advise customers with the Microsoft 2015 compiler to upgrade to the 2017 version due to known issues with the Microsoft 2015 compiler.
    • If you also install the Windows SDK, please ensure it is not a newer version than the version of Visual Studio that you have installed.  

Installation guides

Build Tools for Microsoft Visual Studio 2017

Note: Build Tools for Visual Studio 2017 requires the same licensing as Visual Studio 2017.

To install Build Tools for Microsoft Visual Studio 2017 download the installer (link https://aka.ms/vs/15/release/vs_buildtools.exe).  Run the installer and select "Visual C++ build tools" when the option appears.  Click on the image below for a clearer picture.

VS2017BuildTools

 

Build Tools for Microsoft Visual Studio 2019

Note: Build Tools for Visual Studio 2019 requires the same licensing as Visual Studio 2019.

To install Build Tools for Microsoft Visual Studio 2019 download the installer (link https://aka.ms/vs/16/release/vs_buildtools.exe).  Run the installer and select "Desktop development with C++" when the option appears then deselect "C++ AddressSanitizer" on the right hand side.  Click on the image below for a clearer picture.

VS2019BuildTools

 

GNU Compiler Collection (“GCC”) 11.2.0

The GCC includes a C++ compiler.  It is distributed as free software under the GNU General Public License.  The Minimalist GNU for Windows project (“MinGW”) provides the GCC for installation on Windows operating systems.

We have tested Prophet with version 11.2.0 of the GCC which can be downloaded from https://github.com/cristianadam/mingw-builds/releases/download/v11.2.0/x86_64-11.2.0-release-posix-seh-rt_v9-rev0.7z (SHA256: 46de246856f7a0d77f15aab3f7a93ecdfc6b65c0d11035f43e2b607837fd69ac).

Please do not download any other version for use with Prophet.

Note: The unzipped GCC files are about 550MB. Ensure that you have enough disk space available before unzipping the GCC. 

After downloading the 7z file, unzip it, and save the sub-folder "mingw64" to a location where the Prophet Worker process has read access, for example "C:\Program Files\mingw64".

After unzipping the compiler, you will need to create an environment variable to be able to use the compiler.

  • Search "environment variables" or go to "Settings", "System", "Advanced", "Environment Variables". This varies by Windows version.
  • Create a new system variable, "MINGW64_ROOT_DIR_11", and set the value to the GCC installation folder, e.g., "C:\Program Files\mingw64".
  • Restart any Prophet applications that are running so that they are aware of the new compiler. You may need to reboot your machine.

 

Support 

If you have any questions about compilers for Prophet, please contact your regional representative or the Prophet Helpdesk. All contact details can be found here.