Closed per1234 closed 1 year ago
Not sure why the Units library is failing the dependency check
The name you used in the depends
field of library.properties
was Bolder Flight Systems Units
depends=Bolder Flight Systems Units, Bolder Flight Systems Eigen
but the actual name of that library is Bolder Flight Systems Unit Conversions
(note the "Units" vs "Unit Conversions" difference):
https://github.com/bolderflight/units/blob/v4.2.1/library.properties#L1
name=Bolder Flight Systems Unit Conversions
The error would not occur if the depends
field used the correct library name:
depends=Bolder Flight Systems Unit Conversions, Bolder Flight Systems Eigen
The
depends
field of the library.properties metadata file specifies the dependencies that should be installed along with the library by the Arduino Library Manager.This field must contain only the names of libraries that are available for installation via Library Manager.
The presence of any items which are not in Library Manager causes installation of the library to fail:
no protocol:
" errorarduino/arduino-ide#621
)No valid dependencies solution found
" errorMy guess is that this was intended to be
Bolder Flight Systems Unit Conversions
. However, I was not able to verify this because I found the "Bolder Flight Systems UBLOX" library and its example sketch don't have any dependencies on other Arduino libraries. For this reason, I opted to remove the invalid item from thedepends
field entirely instead of correcting the name.Originally reported at https://forum.arduino.cc/t/external-library-wont-install-using-library-manager/1127278