thijse / Arduino-CmdMessenger

CmdMessenger Communication library for Arduino & .NET
Other
208 stars 87 forks source link

Platformio complains about a missing dependancy #27

Open NetForces opened 7 years ago

NetForces commented 7 years ago
[Fri Jun 16 11:09:17 2017] Processing mega (platform: atmelavr, lib_deps: SdFat, Thread, https://github.com/FastLED/FastLED.git, https://github.com/thijse/Arduino-CmdMessenger.git, upload_speed: 115200, board: megaatmega2560, framework: arduino)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
Converting main.ino
Collected 50 compatible libraries
Looking for dependencies...
Error: Could not find `Adafruit-MAX31855` dependency for `CmdMessenger` library
========================================================================================================================= [ERROR] Took 2.01 seconds =========================================================================================================================

my platformio.ini file:

[common]

[env:mega]
platform = atmelavr
framework = arduino
board = megaatmega2560
upload_speed = 115200
lib_deps =
    SdFat
    Thread
    https://github.com/FastLED/FastLED.git
    https://github.com/thijse/Arduino-CmdMessenger.git

I think it's because the library in question is named Adafruit MAX31855 library : http://platformio.org/lib/show/84/Adafruit%20MAX31855%20library/installation

ristomatti commented 6 years ago

Got this problem also. As a temporary solution I removed Adafruit-MAX31855 dependency from CmdMessenger's library.json. I assume the dependency is there only as one of the examples is using it.