All REQUIRES missing in the CMakeLists.txt
Posted: Mon Jun 21, 2021 10:04 am
Hello,
I'm updating a project from version 3.0.9 to 4.3 release, and I'm fixing legacy code to have a compiling version.
I installed the VS Code pluign, and compiled example project without (remaining) problems.
My current CMakeList is something like
Now I'm fixing the code and I'm facing a linking problem, for example
but suddenly I face problems with others (nvs_flash, mdns, mqtt_client, ...)
With the old make, I didn't have this kind of problem (no REQUIRES equivalent needed), so I'm thinking I should setup something better. Should I REQUIRES all packages, or is there something to setup to solve the problem?
Thanks
I'm updating a project from version 3.0.9 to 4.3 release, and I'm fixing legacy code to have a compiling version.
I installed the VS Code pluign, and compiled example project without (remaining) problems.
My current CMakeList is something like
Code: Select all
idf_component_register(INCLUDE_DIRS "." "addrs" "button" "certs"
SRC_DIRS "." "addrs" "button" "certs"
EMBED_TXTFILES "certs/ca.crt"
EMBED_FILES "web/bin/style.css.min.gz")
The compilation seems to proceed further if I add the rowundefined reference to `mbedtls_md5_starts'
Code: Select all
REQUIRES "mbedtls"
With the old make, I didn't have this kind of problem (no REQUIRES equivalent needed), so I'm thinking I should setup something better. Should I REQUIRES all packages, or is there something to setup to solve the problem?
Thanks