To build the following libraries are required:
Available by devkitPro:
libctru
citro3d
libpng
libcurl
flite
jansson
Build from source:
citro2d - https://github.com/piepie62/citro2d/tree/layoutText
libsndfile - https://github.com/libsndfile/libsndfile
A CA certificate in PEM format is required by default: https://curl.se/docs/caextract.html
To include, copy cacert.pem
to rsrc\romfs
TLS can be disabled by defining: CURL_NO_CERT
It is possible to include you API-Key in the ROMFS:
Provide your API-Key in a JSON format: api_key.json
{
"api_key": "sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
Copy to: api_key.json
to rsrc\romfs