In the context of OpenMQTTGateway project we have found recently build errors regarding the BMP180 & RFM69 library, here is the message for the RFM69 lib: UndefinedPackageVersion: Could not find a version that satisfies the requirement '4a6f77ad47' for your system 'windows_amd64':
Here is the library definition in platformio.ini file: RFM69@4a6f77ad47
PIO is behaving as expected, legal syntax is described in pio lib install — PlatformIO latest documentation. lib@version for referencing release versions, <repo>#tag for referencing commits or tags, but rfm69 has lib@tag.
This is a known issue. We rolled out a new package registry (only back-end). The front-end will be announced later. We support now only SemVer compatible packages. We will update our docs soon how anyone can publish own packages. Also, we will introduce soon owner-based dependency support. You will be able to declare in lib_deps this
[env:myenv]
lib_deps =
owner/libname
The current PIO Core version does not support this syntax yet. However, the new registry has this information and much more.
Also, this syntax is not valid
Please use FULL Github path. Otherwise, new PIO Core 4.4 will look for a library in a new registry owned by :owner/:libname.
Thansk for the info,
I wasn’t able to catch the 1.4.1:
Looking for RFM69 library in registry
Conflict: More than one library has been found by request {"requirements": "1.4.1", "name": "RFM69"}:
RFM69
=====
#ID: 92
ARutomatically chose the first available library (use `--interactive` option to make a choice)
FM69 library for RFM69W, RFM69HW, RFM69CW, RFM69HCW (semtech SX1231, SX1231H)
UndefinedPackageVersion: Could not find a version that satisfies the requirement '1.4.1' for your system 'windows_amd64':
Keywords: rf, radio, wireless, spi
File "C:\users\flori\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 168:
Compatible frameworks: Arduino
env.SConscript("$BUILD_SCRIPT")
So I ended up pointing to the short sha revision and it worked.