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