pipecat-client-cxx is a C++ SDK to build native Pipecat client applications.
It supports Linux (x86_64 and aarch64), macOS (aarch64) and Windows
(x86_64).
pipecat-client-cxx needs a transport in order to connect to your Pipecat
bot. Currently available transports:
We use libcurl to make HTTP requests.
sudo apt-get install libcurl4-openssl-devOn macOS libcurl is already included so there is nothing to install.
On Windows we use vcpkg to install dependencies. You need to set it up following one of the tutorials.
The libcurl dependency will be automatically downloaded when building.
cmake . -G Ninja -Bbuild -DCMAKE_BUILD_TYPE=Release
ninja -C buildInitialize the command-line development environment.
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64And then configure and build:
cmake . -Bbuild --preset vcpkg
cmake --build build --config ReleaseIt is possible to build the example for the aarch64 architecture in Linux with:
cmake . -G Ninja -Bbuild -DCMAKE_TOOLCHAIN_FILE=aarch64-linux-toolchain.cmake -DCMAKE_BUILD_TYPE=Release
ninja -C build