Replies: 1 comment 2 replies
-
thanks for pointing this out. I think what I need to do is update the manifest file at https://github.com/emsesp/EMS-ESP-Modules/blob/main/library.json with a new version like 1.0.1 to trigger the re-fetch |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary: I couldn't build the latest dev branch because
lib_deps
is apparently pulled by a shallow clone which only checks out the first revision of the repo, ignoring all later updates. This leads to a dependency version mismatch (ArduinoJson 7.1.0 vs 7.2.0). Manually updatinglib_deps
fixes the issue (as a workaround).The details:
I couldn't build the current dev branch (4905047). The build failed with a linker error.
After digginig into it I found out that there were two versions of ArduinoJson in the project - version 7.2.0 from
lib/ArduinoJson
and version 7.1.0 fromlib_deps
, which is pulled fromhttps://github.com/emsesp/EMS-ESP-Modules.git
as perplatformio.ini
. Which was strange, because @proddy updated the repo to version 7.2.0 just earlier this week.Looking at the
EMS-ESP-Modules
directory:So
libModule.a
is referencing ArduinoJson v7.1.0I could fix this by manualy updating the repo.
Now the build suceeds.
Is this a platform.io issue, maybe intentional? Is a tag or something required to specify that the latest revision of the repo is supposed to be used?
(This is not really related to the issue, but what are you planning to do with the
EMS-ESP-Modules
repo? Do you intend to put everything that's currently inlib
into this repo, as binaries? Where will the source code be?)Beta Was this translation helpful? Give feedback.
All reactions