Missing build dependencies: Crypto and ArduinoJson not declared
Building any target from a clean checkout fails twice on undeclared dependencies.
1. CryptoLegacy provides CBC/CFB/OFB/SHA1, whose base classes
Cipher and Hash live in the separate Crypto package. Only
attermann/arduinolibs is declared, so the build fails with
fatal error: Cipher.h: No such file or directory.
2. microReticulum/Bytes.h includes <ArduinoJson.h>, which is not
declared either — fatal error: ArduinoJson.h: No such file or directory.
Adding both to lib_deps resolves it:
lib_deps =
${env.lib_deps}
https://github.com/attermann/Crypto.git
bblanchon/ArduinoJson@^7.0.0
ArduinoJson 7 works — the code does not use the removed
StaticJsonDocument/DynamicJsonDocument API.
The fork you are using where this occurs is more than 401 commits behind Atterman's microReticulum master branch. Maybe try checking that before opening an issue.
Fixed upstream: library.json now declares ArduinoJson, MsgPack, Crypto and microStore, and microReticulum_Firmware inherits them in [env] lib_deps. Builds from a clean checkout work. Closing.