this is the C++ SDK version 0.6.0 for SLS
curl: use the system curl or your own curl
lz4 : use lib/liblz4.a
-
execute
make
in this dir to get liblib/libslssdk.a
make -j
-
build your own program
g++ -o your_program your_program.o -O2 -L./lib/ -lslssdk -llz4 -lcurl
- build lib with cmake
export CURL_INCLUDE_DIR="/usr/include" # replace with your libcurl include dir cmake -B build cmake --build build