wokwi-features icon indicating copy to clipboard operation
wokwi-features copied to clipboard

Dependencies in the file "library.properties" might not be solved correctly.

Open Koepel opened this issue 1 year ago • 4 comments
trafficstars

This problem was mentioned in the Discord channel. It will probably be solved in the library soon, but there might be a underlying problem with the dependencies. Library: https://github.com/forntoh/LcdMenu

The LcdMenu has depends=LiquidCrystal_I2C,LiquidCrystal in the file "library.properties". There is also a include in the library file "LcdMenu.h":

#ifndef USE_STANDARD_LCD
#include <LiquidCrystal_I2C.h>
#else
#include <LiquidCrystal.h>
#endif

It compiles in the Arduino IDE 1.8.19 in linux, but it does not compile in Wokwi. Wokwi says: "Build failed!", "Error installing LcdMenu: No valid dependencies solution found: dependency 'LiquidCrystal_I2C' is not available".

It is a known Issue: https://github.com/forntoh/LcdMenu/issues/168

Test project: https://wokwi.com/projects/404566441698707457

The problem with this specific library might be solved soon. The maker of the library has already a pull request to separate the Menu from the LCD display library.

Koepel avatar Jul 27 '24 12:07 Koepel