Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency and build errors #6

Open
biuklija opened this issue Jul 19, 2023 · 2 comments
Open

Dependency and build errors #6

biuklija opened this issue Jul 19, 2023 · 2 comments

Comments

@biuklija
Copy link

biuklija commented Jul 19, 2023

I am unable to build this project due to the following issues:

  • Library dependency "562" is not automatically resolved and I can't pinpoint what this library dependency is supposed to be.

  • The SH1106Spi library is not defined in the dependencies, although this is a minor issue.

  • I'm getting multiple build errors. First one (which I was able to fix):
    src\main.cc:168:22: error: 'IOTWEBCONF_STATE_ONLINE' was not declared in this scope; did you mean 'IOTWEBCONF_DEBUG_LINE'? Compiling .pio\build\d1_mini\lib6ae\ESP8266WiFi\ESP8266WiFiGratuitous.cpp.o src\main.cc:169:25: error: 'IOTWEBCONF_STATE_NOT_CONFIGURED' was not declared in this scope; did you mean 'IOTWEBCONF_HTML_CONFIG_VER'? *** [.pio\build\d1_mini\src\main.cc.o] Error 1

  • Second build error:
    lib\encoder\ClickEncoder.cpp: In member function 'void ClickEncoder::service()': lib\encoder\ClickEncoder.cpp:223:69: error: no matching function for call to 'min(long unsigned int&, uint16_t&)' 223 | doubleClickTicks -= min(millisSinceLastCheck, doubleClickTicks);

Any assistance appreciated.

@volca02
Copy link
Owner

volca02 commented Jul 28, 2023

Hey,

I've not used this device since the display broken ages ago, but tried fixing the build problems.

On my machine it now builds - I will be not able to test if it runs as well.

Here are the dependencies

Dependency Graph
|-- OneWire @ 2.3.7
|-- DallasTemperature @ 3.11.0
|-- AutoPID @ 1.0.4
|-- IotWebConf @ 3.2.1
|-- PubSubClient @ 2.8.0
|-- ESP8266 and ESP32 OLED driver for SSD1306 displays @ 4.4.0
|-- ClickEncoder @ 0.0.0-alpha+sha.9337a0c46c
|-- ArduinoOTA @ 1.0

@biuklija
Copy link
Author

biuklija commented Aug 2, 2023

Thank you, I'm waiting on some of the hardware so I'll test it out and report back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants