03-11-2025, 12:08
I just installed 1.8.19 (from here)
Unzipped your archive in C:\Users\hansr\Documents\Arduino\WeatherDuino_AQM_III => does not compile, it does not find any library
Moved libraries to C:\Users\hansr\Documents\Arduino\libraries. Then it compiles (note: this is very different from version IDE 2.3.6 where it seems to require the llibraries to be in the Sketch directory))
Then is does start compilation (after configuration) but I get the following errors:
So it does compile - it does not give any error, only warnings which I highly dislike - but I have the following concluding remarks:
Regards,
Unzipped your archive in C:\Users\hansr\Documents\Arduino\WeatherDuino_AQM_III => does not compile, it does not find any library
Moved libraries to C:\Users\hansr\Documents\Arduino\libraries. Then it compiles (note: this is very different from version IDE 2.3.6 where it seems to require the llibraries to be in the Sketch directory))
Then is does start compilation (after configuration) but I get the following errors:
Code:
In file included from C:\Users\hansr\Documents\Arduino\libraries\esp8266-OLED-SSD1306/SH1106Wire.h:31,
from C:\Users\hansr\Documents\Arduino\libraries\esp8266-OLED-SSD1306/SH1106.h:30,
from C:\Users\hansr\Documents\Arduino\WeatherDuino_AQM_III\software\WeatherDuino_AQM_III_v6.1_b010\WeatherDuino_AQM_III_v6.1_b010.ino:57:
C:\Users\hansr\Documents\Arduino\libraries\esp8266-OLED-SSD1306/OLEDDisplay.h: In member function 'virtual bool OLEDDisplay::connect()':
C:\Users\hansr\Documents\Arduino\libraries\esp8266-OLED-SSD1306/OLEDDisplay.h:253:29: warning: no return statement in function returning non-void [-Wreturn-type]
virtual bool connect() {};
^
In file included from C:\Users\hansr\Documents\Arduino\libraries\RadioHead_v1.121\RH_LoRaFileOps.cpp:5:
C:\Users\hansr\Documents\Arduino\libraries\RadioHead_v1.121/RH_LoRaFileOps.h:27:2: warning: #warning RH_LoRaFileOps unfinished [-Wcpp]
#warning RH_LoRaFileOps unfinished
^~~~~~~
In file included from C:\Users\hansr\Documents\Arduino\libraries\esp8266-OLED-SSD1306\OLEDDisplayUi.h:31,
from C:\Users\hansr\Documents\Arduino\libraries\esp8266-OLED-SSD1306\OLEDDisplayUi.cpp:27:
C:\Users\hansr\Documents\Arduino\libraries\esp8266-OLED-SSD1306\OLEDDisplay.h: In member function 'virtual bool OLEDDisplay::connect()':
C:\Users\hansr\Documents\Arduino\libraries\esp8266-OLED-SSD1306\OLEDDisplay.h:253:29: warning: no return statement in function returning non-void [-Wreturn-type]
virtual bool connect() {};
^
In file included from C:\Users\hansr\Documents\Arduino\libraries\esp8266-OLED-SSD1306\OLEDDisplay.cpp:28:
C:\Users\hansr\Documents\Arduino\libraries\esp8266-OLED-SSD1306\OLEDDisplay.h: In member function 'virtual bool OLEDDisplay::connect()':
C:\Users\hansr\Documents\Arduino\libraries\esp8266-OLED-SSD1306\OLEDDisplay.h:253:29: warning: no return statement in function returning non-void [-Wreturn-type]
virtual bool connect() {};
^
C:\Users\hansr\Documents\Arduino\libraries\SPS30-master\sensirion_hw_i2c_implementation.cpp: In function 'int8_t sensirion_i2c_read(uint8_t, uint8_t*, uint16_t)':
C:\Users\hansr\Documents\Arduino\libraries\SPS30-master\sensirion_hw_i2c_implementation.cpp:98:36: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Wire.requestFrom(address, count);
^
In file included from C:\Users\hansr\Documents\Arduino\libraries\SPS30-master\sensirion_hw_i2c_implementation.cpp:78:
C:\Users\hansr\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\Wire\src/Wire.h:104:13: note: candidate 1: 'uint8_t TwoWire::requestFrom(int, int)'
uint8_t requestFrom(int address, int size);
^~~~~~~~~~~
C:\Users\hansr\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.3\libraries\Wire\src/Wire.h:102:13: note: candidate 2: 'uint8_t TwoWire::requestFrom(uint8_t, uint8_t)'
uint8_t requestFrom(uint8_t address, uint8_t size);
^~~~~~~~~~~
Sketch uses 806201 bytes (61%) of program storage space. Maximum is 1310720 bytes.
Global variables use 44464 bytes (13%) of dynamic memory, leaving 283216 bytes for local variables. Maximum is 327680 bytes.So it does compile - it does not give any error, only warnings which I highly dislike - but I have the following concluding remarks:
- I think you should have a readme, it is dissatisfactory that there is no indication of the board required, the library location and that it does not compile out of the box. Not everybody works with the IDE on a daily basis. Once per 5 years is already frequent if one only uses AQMIII.
- The warnings are not very comforting.
- I think you should do some upgrade related to the new IDE and especially pay more attention to the location of the libraries relative to the sketch root
- I am not going to replace my current firmware with this compile, I'll await your solution for the NULL in the return of the AirLink simulation (see this post)
Regards,
HansR

