PGI command-line compilers and tools for Windows have the following co-installation requirements:

  • Visual Studio 2019 or Visual Studio 2017 with Visual C++ and the Windows 10 SDK

If either component is missing from your system, the PGI Windows installation program will exit before completing.

Follow these guidelines to ensure proper installation and operation of PGI products for Windows.

  1. First check to ensure you have installed the latest updates for your operating system. For Windows 10, you can check for updates in the settings application:
    Settings -> Update & Security -> Check for updates
  2. Install the Community, Professional, or Enterprise edition of Visual Studio 2019 or 2017. Visual Studio Community Edition uses a web installer.
    There is no Visual Studio offline ISO installer. Should you require one, Microsoft has an offline installation guide that details options for creating your own offline installer.
  3. PGI Windows products rely on the Visual C++ tool chain included with Visual Studio. Visual C++ must first be present on your system, or the PGI installation will exit before completing.

    Note that the Visual Studio installation does not install Visual C++ by default. You must modify the settings to install it. Follow these steps to install Visual C++.

    1. Launch the Visual Studio installation program.
    2. Under the "Workloads" header, select "Desktop development with C++". This will auto-populate the installation details list with the correct components to install.
      By default, checking the C++ workload option will install the Windows 10 SDK. If you do not install it as part of Visual Studio, you can install it later as a separate package.
      See the PGI Microsoft SDK compatibility page for more details.
      Visual Studio Installation Dialog
    3. Click the "Install" button and let the installer proceed. Once it has completed, run the PGI installer for Windows.
Click me
Cookie Consent

This site uses cookies to store information on your computer. See our cookie policy for further details on how to block cookies.