Setting up a Microsoft Visual Studio .NET C++ compiler

For Microsoft Visual Studio .NET compilers, set LIB and INCLUDE environment variables before you create and run parallel jobs.

About this task

Complete this task for every engine tier computer where jobs will be recompiled.

Procedure

  1. Install the compiler. For information about supported compilers, see the system requirements at http://www-01.ibm.com/support/docview.wss?uid=swg27047977.
    For more information about compiler installation, see your Microsoft documentation.
  2. Within Microsoft Windows, set the LIB and INCLUDE environment variables to the appropriate locations for your compiler version. The following tables show examples of what to set for the 2010 and 2015 versions of Microsoft Visual Studio .NET or Microsoft Visual Studio .NET Express® Edition C++:
    Table 1. Environment variables to set for Microsoft Visual Studio .NET 2010 or Microsoft Visual Studio .NET 2010 Express Edition C++
    Environment variable Setting
    LIB Set to the location of the 32-bit library directory for the software development kit (SDK). For example, for Microsoft Visual Studio .NET 2010 Express Edition C++, a typical location is C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib.
    INCLUDE Set to the location of the 32-bit include directory for the software development kit. For example, for Microsoft Visual Studio .NET 2010 Express Edition C++, a typical location is C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include.
    The version number in the path (v7.0A in the previous examples) might vary based upon the latest updates to the compiler.
    Table 2. Environment variables to set for Microsoft Visual Studio .NET 2015 or Microsoft Visual Studio .NET 2015 Express Edition C++
    Environment variable Setting
    LIB Set to the location of the 32-bit library directory for the software development kit (SDK). For example, for Microsoft Visual Studio .NET 2015 Express Edition C++, a typical location is C:\Program Files (x86)\Windows Kits\10\lib\10.0.10240.0\ucrt\x86.
    INCLUDE Set to the location of the 32-bit include directory for the software development kit. For example, for Microsoft Visual Studio .NET 2015 Express Edition C++, a typical location is C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt.
    Note: The LIB and INCLUDE environment variable names must be specified in uppercase characters.
  3. Restart the computer for the environment variable settings to take effect.