Before building the example we need to declare a few environment variables:
DAILY_CORE_PATH=/path/to/daily-core
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 . -Bbuild -DCMAKE_TOOLCHAIN_FILE=aarch64-linux-toolchain.cmake -DCMAKE_BUILD_TYPE=Release
ninja -C build
After building the example you should be able to run it:
./build/daily_example
Argument | Description |
---|---|
-m | The Daily meeting URL |
-t | Daily meeting token if required by the meeting |
-n | The name this client should be connected to the meeting. (default: Guest) |