Skip to content

Missing build dependencies: Crypto and ArduinoJson not declared #78

Description

@Giak88

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions