Under new version of your wonderful plugin, i can't compile succesfully the project.
Data:
VS2015, device: NodemCU ESP12E
Arduino IDE 1.6.9.
The project is compiled well by arduino IDE, but no with VM. I think the problem is that code is distributed in different INOs. This problem has appeared when upgrading to latest version of VM.
The versions pre-august were working well... And now i can't reinstall old versions, i don't know why.
Errors:
RemoteSensor.ino: 38:15: error: variable or field 'drawLogo' declared void
void drawLogo(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 38:15: error: 'OLEDDisplay' was not declared in this scope
RemoteSensor.ino: 38:28: error: 'display' was not declared in this scope
void drawLogo(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 38:37: error: 'OLEDDisplayUiState' was not declared in this scope
void drawLogo(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 38:57: error: 'state' was not declared in this scope
void drawLogo(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 38:72: error: expected primary-expression before 'x
void drawLogo(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 38:83: error: expected primary-expression before 'y
void drawLogo(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 39:19: error: variable or field 'drawConnInfo' declared void
void drawConnInfo(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 39:19: error: 'OLEDDisplay' was not declared in this scope
RemoteSensor.ino: 39:32: error: 'display' was not declared in this scope
void drawConnInfo(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 39:41: error: 'OLEDDisplayUiState' was not declared in this scope
void drawConnInfo(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 39:61: error: 'state' was not declared in this scope
void drawConnInfo(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 39:76: error: expected primary-expression before 'x
void drawConnInfo(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 39:87: error: expected primary-expression before 'y
void drawConnInfo(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 40:20: error: variable or field 'drawAmbiental' declared void
void drawAmbiental(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 40:20: error: 'OLEDDisplay' was not declared in this scope
RemoteSensor.ino: 40:33: error: 'display' was not declared in this scope
void drawAmbiental(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 40:42: error: 'OLEDDisplayUiState' was not declared in this scope
void drawAmbiental(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 40:62: error: 'state' was not declared in this scope
void drawAmbiental(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 40:77: error: expected primary-expression before 'x
void drawAmbiental(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 40:88: error: expected primary-expression before 'y
void drawAmbiental(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 41:19: error: variable or field 'drawWatering' declared void
void drawWatering(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 41:19: error: 'OLEDDisplay' was not declared in this scope
RemoteSensor.ino: 41:32: error: 'display' was not declared in this scope
void drawWatering(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 41:41: error: 'OLEDDisplayUiState' was not declared in this scope
void drawWatering(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 41:61: error: 'state' was not declared in this scope
void drawWatering(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 41:76: error: expected primary-expression before 'x
void drawWatering(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 41:87: error: expected primary-expression before 'y
void drawWatering(OLEDDisplay *display, OLEDDisplayUiState* state, int16_t x, int16_t y)
RemoteSensor.ino: 42:20: error: variable or field 'headerOverlay' declared void
void headerOverlay(OLEDDisplay *display, OLEDDisplayUiState* state)
RemoteSensor.ino: 42:20: error: 'OLEDDisplay' was not declared in this scope
RemoteSensor.ino: 42:33: error: 'display' was not declared in this scope
void headerOverlay(OLEDDisplay *display, OLEDDisplayUiState* state)
RemoteSensor.ino: 42:42: error: 'OLEDDisplayUiState' was not declared in this scope
void headerOverlay(OLEDDisplay *display, OLEDDisplayUiState* state)
RemoteSensor.ino: 42:62: error: 'state' was not declared in this scope
void headerOverlay(OLEDDisplay *display, OLEDDisplayUiState* state)
RemoteSensor.ino: 64:1: error: 'IrrigationTask' does not name a type
IrrigationTask *getNextTask()
Display.ino: 19:32: error: 'headerOverlay' was not declared in this scope
OverlayCallback overlays[] = { headerOverlay }
Display.ino: 28:28: error: 'drawLogo' was not declared in this scope
FrameCallback frames[] = { drawLogo, drawConnInfo, drawAmbiental, drawWatering }
Display.ino: 28:38: error: 'drawConnInfo' was not declared in this scope
FrameCallback frames[] = { drawLogo, drawConnInfo, drawAmbiental, drawWatering }
Display.ino: 28:52: error: 'drawAmbiental' was not declared in this scope
FrameCallback frames[] = { drawLogo, drawConnInfo, drawAmbiental, drawWatering }
Display.ino: 28:67: error: 'drawWatering' was not declared in this scope
FrameCallback frames[] = { drawLogo, drawConnInfo, drawAmbiental, drawWatering }
RemoteSensor.ino: In function void drawMsg(const String&, const String&)
Display.ino: 100:41: error: 'headerOverlay' was not declared in this scope
headerOverlay(&display, ui.getUiState())
RemoteSensor.ino: In function void drawWatering(OLEDDisplay*, OLEDDisplayUiState*, int16_t, int16_t)
Display.ino: 228:72: error: 'getNextTask' was not declared in this scope
display->drawString(64 + x, 31 + y, "Next in " + String(getNextTask()->getTimeToStart(wifiManager.timeClient->getDateTime())))
Error compiling project sources
Any help?
Thank you!