The system must have libcurl
available.
Build requires stdlib.h
, stdio.h
, string.h
and time.h
.
As this is programme is expected to run on an embedded device or single board computer, compiling for size is generally recommended.
gcc -Os -s -I./include main.c ./src/autarco.c -o autarco.exe
A TOML file is required for configuring the data fetcher, with the following as an example:
[autarco]
site_id = "m00000000"
uname = "foo@bar.com"
pwd = "pwd"
outdir = "/some/path"
On Windows:
.\autarco.exe /path/to/conf.toml