Libs "do not exist"

I keep getting these kinds of error messages when trying to build (the same kind of errors appear for many different libs - this is just an extract). Sometimes there is no error though and I’m not understanding why they appear when they do and what to do.

Connecting to https://mongoose.cloud, user test
Uploading sources (5652 bytes)
Handling lib “ca-bundle”…
Handling lib “rpc-service-cron”…
Handling lib “i2c”…
Handling lib “rpc-service-config”…
i2c: Does not exist, cloning from “GitHub - mongoose-os-libs/i2c”…
rpc-service-config: Does not exist, cloning from “GitHub - mongoose-os-libs/rpc-service-config”…
ca-bundle: Does not exist, cloning from “GitHub - mongoose-os-libs/ca-bundle”…

Don’t worry about that.
The build server does not have those libraries in the deps directory, so it has to download them.

OK, great thanks! It must have been something else that gave an error then. Couldn’t find any other error message, so I thought it must have been the libs.

If the build failed, there is certainly an error message in the log. Search for failed or error in the build.log

$ egrep "error|failed" build/build.log
CXX error_codes.o
<path>/src/main.c:37:3: error: implicit declaration of function 'mgos_set_imer' [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
/mongoose-os/platforms/esp32/src/esp32_src.mk:101: recipe for target 'main.o' failed
/opt/Espressif/esp-idf/make/project.mk:552: recipe for target 'component-mosapp-build' failed
1 Like

Ah, thanks! Will try this the next time it happens!