PGI command-line compilers and tools for Windows have the following co-installation requirements:
- 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.
- 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
- Install the Community, Professional, or Enterprise edition of
Visual Studio 2017. Visual Studio 2017 Community Edition uses a web installer.
There is no Visual Studio 2017 offline ISO installer. Should you require one, Microsoft has an offline installation guide that details options for creating your own offline installer.
- 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++.
- Launch the Visual Studio installation program.
- 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.
- Click the "Install" button and let the installer proceed. Once it has completed, run the PGI installer for Windows.