Rest CPP example
This example shows how to upload and process local file using the clarin API with C++.
Dependencies
Compilation using cmake
apt update && apt install libcpprest-dev
git clone https://gitlab.clarin-pl.eu/bartoszziemba/rest_cpp_example
cd rest_cpp_example
mkdir build
cd build
cmake ..
cmake --build .
Tested build configuration:
- cmake 3.16.3
- clang 10.0.0 and gcc 9.3.0
- ubuntu 20.04
By default this example will not compile with older ubuntu due to a bug in ubuntu apt package. You can however fix this by adding specific variable. For more information see this issue .