Building the SDK for Linux¶
This section includes instructions for building a custom client application by utilizing the SDK.
- As a reference, follow the CMakeLists.txt of the
broker_client_example
to understand the build steps using the cmake tool. It is located at/usr/lib/x86_64-linux-gnu/pcoip-client/examples/broker_client_example/CMakeLists.txt
. - Set the CMAKE_PREFIX_PATH to the path of the CMAKE modules installed by the SDK. This is usually
usr/lin/x86_64-linux-gnu/pcoip-client/cmake/
. - Run the CMake configure and verify it configures without any errors.
- Run CMake build to build the application.
- The
find-package()
command of CMake automatically finds the libraries installed by the SDK as long as CMAKE_PREFIX_PATH points to the cmake modules directory.