Skip to content
Snippets Groups Projects
Select Git revision
  • master
1 result

rest_cpp_example

  • Clone with SSH
  • Clone with HTTPS
  • Bartosz Ziemba's avatar
    Bartosz Ziemba authored
    Dev
    
    See merge request !1
    322c06f0
    History

    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 .