2.4.0rc2 OLED_SSD1306 compile error

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
s0170071
Normal user
Posts: 36
Joined: 21 Oct 2017, 20:49

2.4.0rc2 OLED_SSD1306 compile error

#1 Post by s0170071 » 28 Oct 2017, 23:45

Hi all,

today I was playing with the 2.4.0rc2 arduino library and at first the EasyEsp Mega compiled fine. All of a sudden (really!) I get tons of compile errors, all coming from plugin 036 OLED SSD1306 framed.
If I comment the code out then the errors are all gone and the binary runs fine. The lib files are unchanged.

Code: Select all

Compiling library "esp8266-oled-ssd1306"
"C:\Users\John\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2/tools/sdk/include" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2/tools/sdk/lwip/include" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\John\AppData\Local\Temp\arduino_build_551996/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC   -DARDUINO=10805 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_WEMOS_D1MINI"  -DESP8266 "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\cores\esp8266" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\variants\d1_mini" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\ESP8266WiFi\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\DNSServer\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\ESP8266WebServer\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\Wire" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\SPI" "-IC:\Users\John\Documents\Arduino\libraries\pubsubclient\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\Servo\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\SD\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\ESP8266HTTPUpdateServer\src" "-IC:\Users\John\Documents\Arduino\libraries\ArduinoJson" "-IC:\Users\John\Documents\Arduino\libraries\AS_BH1750" "-IC:\Users\John\Documents\Arduino\libraries\LiquidCrystal_I2C" "-IC:\Users\John\Documents\Arduino\libraries\IRremoteESP8266" "-IC:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306" "-IC:\Users\John\Documents\Arduino\libraries\Adafruit_NeoPixel" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\SoftwareSerial" "C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\OLEDDisplay.cpp" -o "C:\Users\John\AppData\Local\Temp\arduino_build_551996\libraries\esp8266-oled-ssd1306\OLEDDisplay.cpp.o"
"C:\Users\John\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2/tools/sdk/include" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2/tools/sdk/lwip/include" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\John\AppData\Local\Temp\arduino_build_551996/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC   -DARDUINO=10805 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_WEMOS_D1MINI"  -DESP8266 "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\cores\esp8266" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\variants\d1_mini" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\ESP8266WiFi\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\DNSServer\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\ESP8266WebServer\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\Wire" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\SPI" "-IC:\Users\John\Documents\Arduino\libraries\pubsubclient\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\Servo\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\SD\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\ESP8266HTTPUpdateServer\src" "-IC:\Users\John\Documents\Arduino\libraries\ArduinoJson" "-IC:\Users\John\Documents\Arduino\libraries\AS_BH1750" "-IC:\Users\John\Documents\Arduino\libraries\LiquidCrystal_I2C" "-IC:\Users\John\Documents\Arduino\libraries\IRremoteESP8266" "-IC:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306" "-IC:\Users\John\Documents\Arduino\libraries\Adafruit_NeoPixel" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\SoftwareSerial" "C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\OLEDDisplayUi.cpp" -o "C:\Users\John\AppData\Local\Temp\arduino_build_551996\libraries\esp8266-oled-ssd1306\OLEDDisplayUi.cpp.o"
"C:\Users\John\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2/tools/sdk/include" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2/tools/sdk/lwip/include" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\John\AppData\Local\Temp\arduino_build_551996/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC   -DARDUINO=10805 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_WEMOS_D1MINI"  -DESP8266 "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\cores\esp8266" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\variants\d1_mini" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\ESP8266WiFi\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\DNSServer\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\ESP8266WebServer\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\Wire" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\SPI" "-IC:\Users\John\Documents\Arduino\libraries\pubsubclient\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\Servo\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\SD\src" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\ESP8266HTTPUpdateServer\src" "-IC:\Users\John\Documents\Arduino\libraries\ArduinoJson" "-IC:\Users\John\Documents\Arduino\libraries\AS_BH1750" "-IC:\Users\John\Documents\Arduino\libraries\LiquidCrystal_I2C" "-IC:\Users\John\Documents\Arduino\libraries\IRremoteESP8266" "-IC:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306" "-IC:\Users\John\Documents\Arduino\libraries\Adafruit_NeoPixel" "-IC:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\SoftwareSerial" "C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp" -o "C:\Users\John\AppData\Local\Temp\arduino_build_551996\libraries\esp8266-oled-ssd1306\SSD1306.cpp.o"
C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:32:50: error: ISO C++ forbids declaration of 'SSD1306' with no type [-fpermissive]

 SSD1306::SSD1306(int i2cAddress, int sda, int sdc) {

                                                  ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:32:50: error: no 'int SSD1306Wire::SSD1306(int, int, int)' member function declared in class 'SSD1306Wire'

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:38:20: error: no 'void SSD1306Wire::init()' member function declared in class 'SSD1306Wire'

 void SSD1306::init() {

                    ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:47:34: error: no 'void SSD1306Wire::init(int)' member function declared in class 'SSD1306Wire'

 void SSD1306::init(int i2cAddress) {

                                  ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:55:32: error: no 'void SSD1306Wire::resetDisplay()' member function declared in class 'SSD1306Wire'

 void SSD1306::resetDisplay(void) {

                                ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:62:25: error: no 'void SSD1306Wire::reconnect()' member function declared in class 'SSD1306Wire'

 void SSD1306::reconnect() {

                         ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:66:29: error: no 'void SSD1306Wire::displayOn()' member function declared in class 'SSD1306Wire'

 void SSD1306::displayOn(void) {

                             ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:70:30: error: no 'void SSD1306Wire::displayOff()' member function declared in class 'SSD1306Wire'

 void SSD1306::displayOff(void) {

                              ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:74:40: error: no 'void SSD1306Wire::setContrast(char)' member function declared in class 'SSD1306Wire'

 void SSD1306::setContrast(char contrast) {

                                        ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:79:36: error: no 'void SSD1306Wire::flipScreenVertically()' member function declared in class 'SSD1306Wire'

 void SSD1306::flipScreenVertically() {

                                    ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:84:25: error: no 'void SSD1306Wire::clear()' member function declared in class 'SSD1306Wire'

 void SSD1306::clear(void) {

                         ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:88:6: error: redefinition of 'void SSD1306Wire::display()'

 void SSD1306::display(void) {

      ^

In file included from C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\../esp8266-oled-ssd1306/SSD1306.h:30:0,

                 from C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:28:

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\../esp8266-oled-ssd1306/SSD1306Wire.h:55:10: error: 'virtual void SSD1306Wire::display()' previously defined here

     void display(void) {

          ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:113:36: error: no 'void SSD1306Wire::setPixel(int, int)' member function declared in class 'SSD1306Wire'

 void SSD1306::setPixel(int x, int y) {

                                    ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:124:55: error: no 'void SSD1306Wire::setChar(int, int, unsigned char)' member function declared in class 'SSD1306Wire'

 void SSD1306::setChar(int x, int y, unsigned char data) {

                                                       ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:133:35: error: no 'byte SSD1306Wire::utf8ascii(byte)' member function declared in class 'SSD1306Wire'

 byte SSD1306::utf8ascii(byte ascii) {

                                   ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:153:35: error: no 'String SSD1306Wire::utf8ascii(String)' member function declared in class 'SSD1306Wire'

 String SSD1306::utf8ascii(String s) {

                                   ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:164:51: error: no 'void SSD1306Wire::drawString(int, int, String)' member function declared in class 'SSD1306Wire'

 void SSD1306::drawString(int x, int y, String text) {

                                                   ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:231:77: error: no 'void SSD1306Wire::drawStringMaxWidth(int, int, int, String)' member function declared in class 'SSD1306Wire'

 void SSD1306::drawStringMaxWidth(int x, int y, int maxLineWidth, String text) {

                                                                             ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:257:40: error: no 'int SSD1306Wire::getStringWidth(String)' member function declared in class 'SSD1306Wire'

 int SSD1306::getStringWidth(String text) {

                                        ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:268:49: error: no 'void SSD1306Wire::setTextAlignment(int)' member function declared in class 'SSD1306Wire'

 void SSD1306::setTextAlignment(int textAlignment) {

                                                 ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:272:43: error: no 'void SSD1306Wire::setFont(const char*)' member function declared in class 'SSD1306Wire'

 void SSD1306::setFont(const char *fontData) {

                                           ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:276:81: error: no 'void SSD1306Wire::drawBitmap(int, int, int, int, const char*)' member function declared in class 'SSD1306Wire'

 void SSD1306::drawBitmap(int x, int y, int width, int height, const char *bitmap) {

                                                                                 ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:289:33: error: no 'void SSD1306Wire::setColor(int)' member function declared in class 'SSD1306Wire'

 void SSD1306::setColor(int color) {

                                 ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:293:59: error: no 'void SSD1306Wire::drawRect(int, int, int, int)' member function declared in class 'SSD1306Wire'

 void SSD1306::drawRect(int x, int y, int width, int height) {

                                                           ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:304:59: error: no 'void SSD1306Wire::fillRect(int, int, int, int)' member function declared in class 'SSD1306Wire'

 void SSD1306::fillRect(int x, int y, int width, int height) {

                                                           ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:312:75: error: no 'void SSD1306Wire::drawXbm(int, int, int, int, const char*)' member function declared in class 'SSD1306Wire'

 void SSD1306::drawXbm(int x, int y, int width, int height, const char *xbm) {

                                                                           ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:328:6: error: redefinition of 'void SSD1306Wire::sendCommand(unsigned char)'

 void SSD1306::sendCommand(unsigned char com) {

      ^

In file included from C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\../esp8266-oled-ssd1306/SSD1306.h:30:0,

                 from C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:28:

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\../esp8266-oled-ssd1306/SSD1306Wire.h:137:17: error: 'virtual void SSD1306Wire::sendCommand(uint8_t)' previously defined here

     inline void sendCommand(uint8_t command) __attribute__((always_inline)){

                 ^

C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306\SSD1306.cpp:335:36: error: no 'void SSD1306Wire::sendInitCommands()' member function declared in class 'SSD1306Wire'

 void SSD1306::sendInitCommands(void) {

                                    ^

Mehrere Bibliotheken wurden für "Servo.h" gefunden
 Benutzt: C:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\Servo
 Nicht benutzt: C:\Program Files (x86)\Arduino\libraries\Servo
Mehrere Bibliotheken wurden für "SD.h" gefunden
 Benutzt: C:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\SD
 Nicht benutzt: C:\Program Files (x86)\Arduino\libraries\SD
Bibliothek ESP8266WiFi in Version 1.0 im Ordner: C:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\ESP8266WiFi  wird verwendet
Bibliothek DNSServer in Version 1.1.0 im Ordner: C:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\DNSServer  wird verwendet
Bibliothek ESP8266WebServer in Version 1.0 im Ordner: C:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\ESP8266WebServer  wird verwendet
Bibliothek Wire in Version 1.0 im Ordner: C:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\Wire  wird verwendet
Bibliothek SPI in Version 1.0 im Ordner: C:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\SPI  wird verwendet
Bibliothek pubsubclient in Version 2.6 im Ordner: C:\Users\John\Documents\Arduino\libraries\pubsubclient  wird verwendet
Bibliothek Servo in Version 1.0.2 im Ordner: C:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\Servo  wird verwendet
Bibliothek SD in Version 1.0.5 im Ordner: C:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\SD  wird verwendet
Bibliothek ESP8266HTTPUpdateServer in Version 1.0 im Ordner: C:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\ESP8266HTTPUpdateServer  wird verwendet
Bibliothek ArduinoJson in Version 5.6.4 im Ordner: C:\Users\John\Documents\Arduino\libraries\ArduinoJson  wird verwendet
Bibliothek AS_BH1750 im Ordner: C:\Users\John\Documents\Arduino\libraries\AS_BH1750 (legacy) wird verwendet
Bibliothek LiquidCrystal_I2C im Ordner: C:\Users\John\Documents\Arduino\libraries\LiquidCrystal_I2C (legacy) wird verwendet
Bibliothek IRremoteESP8266 in Version 1.2.0 im Ordner: C:\Users\John\Documents\Arduino\libraries\IRremoteESP8266  wird verwendet
Bibliothek esp8266-oled-ssd1306 in Version 3.2.7 im Ordner: C:\Users\John\Documents\Arduino\libraries\esp8266-oled-ssd1306  wird verwendet
Bibliothek Adafruit_NeoPixel in Version 1.0.6 im Ordner: C:\Users\John\Documents\Arduino\libraries\Adafruit_NeoPixel  wird verwendet
Bibliothek SoftwareSerial in Version 1.0 im Ordner: C:\Users\John\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0-rc2\libraries\SoftwareSerial  wird verwendet
exit status 1
Fehler beim Kompilieren für das Board WeMos D1 R2 & mini.
Ungültige Bibliothek C:\Users\John\Documents\Arduino\libraries\ESPEasy in C:\Users\John\Documents\Arduino\libraries\ESPEasy gefunden
Any hints ?

TD-er
Core team member
Posts: 8747
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: 2.4.0rc2 OLED_SSD1306 compile error

#2 Post by TD-er » 30 Oct 2017, 16:38

Does this also happen when you do a clean build?

N.B. I recently (few weeks ago) upgraded the oled library, which has been merged into the mega branch.
Make sure you only have the files present which are in the Github branch and no more. Some files have been renamed between versions of this library.

s0170071
Normal user
Posts: 36
Joined: 21 Oct 2017, 20:49

Re: 2.4.0rc2 OLED_SSD1306 compile error

#3 Post by s0170071 » 20 Dec 2017, 15:16

just got another one.

I compiled the dev12 release against the 2.3.0 core - all fine.
I compiled the dev12 release against the 2.4.0rc2 core - all fine.
When I compile the dev12 release against the git core I get

Code: Select all

/home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/tools/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-I/home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/tools/sdk/include" "-I/home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/tools/sdk/lwip/include" "-I/home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/tools/sdk/libc/xtensa-lx106-elf/include" "-I/tmp/arduino_build_955041/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11  -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_MAYBE_XCC   -DARDUINO=10805 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_WEMOS_D1MINI"  -DESP8266 "-I/home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/cores/esp8266" "-I/home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/variants/d1_mini" "-I/home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/libraries/ESP8266WiFi/src" "-I/home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/libraries/DNSServer/src" "-I/home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/libraries/ESP8266WebServer/src" "-I/home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/libraries/Wire" "-I/home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/libraries/SPI" "-I/home/john/Arduino/scetchbooks/ESPEasy_dev12/libraries/pubsubclient/src" "-I/home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/libraries/Servo/src" "-I/home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/libraries/SD/src" "-I/home/john/ArduinoPortable/arduino-1.8Esp_git/hardware/esp8266com/esp8266/libraries/ESP8266HTTPUpdateServer/src" "-I/home/john/Arduino/scetchbooks/ESPEasy_dev12/libraries/ArduinoJson/src" "-I/home/john/Arduino/scetchbooks/ESPEasy_dev12/libraries/AS_BH1750" "-I/home/john/Arduino/scetchbooks/ESPEasy_dev12/libraries/LiquidCrystal_I2C" "-I/home/john/Arduino/scetchbooks/ESPEasy_dev12/libraries/ESP8266_Oled_Driver_for_SSD1306_display" "/tmp/arduino_build_955041/sketch/ESPEasy.ino.cpp" -o "/tmp/arduino_build_955041/preproc/ctags_target_for_gcc_minus_e.cpp"
/home/john/Arduino/scetchbooks/ESPEasy_dev12/ESPEasy/_P036_FrameOLED.ino:22:20: fatal error: images.h: No such file or directory
 #include "images.h"
                    ^
my setup:
Linux Mint with Arduino 1.8.3 as portable, one portable copy for each ESP8266 arduino core.
All portable installations were accessing the same ESPEasy source files.
I Installed the 2.3.0 and 2.4.0 cores with the boards manager.
The git core was installed like described here: https://github.com/esp8266/Arduino#using-git-version, additionally I chose the Wemos D1mini board and picked the Espressif lwip 1.4 xcc variant.

I have two questions at this point:
1. Does installing the core using the boards trigger some sort of deep search that is missing with the core installation ?
2. What do I have to do to get lwip 2 working ?

Thank you.

s0170071
Normal user
Posts: 36
Joined: 21 Oct 2017, 20:49

Re: 2.4.0rc2 OLED_SSD1306 compile error

#4 Post by s0170071 » 20 Dec 2017, 15:22

just found:
making a symlink for the SSD1306ClockDemo folder and placing it into the libraries folder seems to work. To me this looks like deep searching libraries somehow stops one level short of success.
Still not clear what this has to do with the core version.

s0170071
Normal user
Posts: 36
Joined: 21 Oct 2017, 20:49

Re: 2.4.0rc2 OLED_SSD1306 compile error

#5 Post by s0170071 » 20 Dec 2017, 17:42

hmmm. reinstalled it... working. :?:
somehow I like the more persistent bugs. :roll:

Post Reply

Who is online

Users browsing this forum: No registered users and 49 guests