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
).
We use libcurl to make HTTP requests.
sudo apt-get install libcurl4-openssl-dev
On 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 build
Initialize the command-line development environment.
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64
And then configure and build:
cmake . -Bbuild --preset vcpkg
cmake --build build --config Release
It 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