Minimal Client Example

The following is an example of how to use the Teradici broker libraries and the PCoIP Session libraries to connect to an agent and launch a PCoIP session.

Applications and Files Required

The following files and application versions are required to build the minimal client and client session examples:

  • Cmake 3.10 or above.
  • Windows 10 SDK.
  • Microsoft Visual Studio 2019.
  • Boost C++ Libraries 1.71.0.

The following steps outline how to build this example:

  1. Unzip the PCoIP Client SDK package.
  2. Change directory to [SDK]/examples/minimal_client.
  3. Create a build directory.
  4. Run cmake to configure the build:
    cmake -DCMAKE_BUILD_TYPE=Release -A x64
    
  5. Build minimal-client-example in Visual Studio 2015, or build through the command line:
    cmake --build .
    
  6. Copy Release\minimal_client.exe {SDK}\bin.
  7. Update login_info.txt.
  8. Run minimal_client executable under the {SDK}/bin directory. This will enable it to launch a brokered PCoIP Session to the PCoIP Agent.