Tutorial - Rakete1111/stackcpp GitHub Wiki

Linux

You will need Boost, OpenSSL, crypto, and pthread to successfully link your application.

If you are on Arch Linux (or a derivative using pacman), you can execute the following command to install every dependency:

$ sudo pacman -S boost boost-libs openssl

You can then take a sample from the samples/ folder, and build it like follows as an example:

$ clang++ -std=c++11 -pedantic -Wall -Werror -lstackcpp -lboost_system -lcrypto -lssl -lboost_iostreams -lpthread -o sample sample.cpp