The Pipecat C++ SDK provides a native implementation for building voice and multimodal AI applications. It supports:
- Linux (
x86_64
and aarch64
)
- macOS (
aarch64
)
- Windows (
x86_64
)
Dependencies
libcurl
The SDK uses libcurl for HTTP requests.
sudo apt-get install libcurl4-openssl-dev
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.
Installation
Build the SDK using CMake:
cmake . -G Ninja -Bbuild -DCMAKE_BUILD_TYPE=Release
ninja -C build
cmake . -G Ninja -Bbuild -DCMAKE_BUILD_TYPE=Release
ninja -C build
# Initialize Visual Studio environment
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64
# Configure and build
cmake . -Bbuild --preset vcpkg
cmake --buildbuild --config Release
Cross-compilation
For Linux aarch64:
cmake . -G Ninja -Bbuild -DCMAKE_TOOLCHAIN_FILE=aarch64-linux-toolchain.cmake -DCMAKE_BUILD_TYPE=Release
ninja -C build
Documentation