Compiling Problems
-
Update: I should have mentioned in previous post that I have also attempted to remove and reinstall recipes. Also removed and reinstalled the arduino IDE. I also install IDE 1.0.6 which does result in different errors:
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Arduino: 1.0.6 (Linux), Board: "Arduino Nano w/ ATmega328"
In file included from SerialGateway.ino:53:
GatewayUtil.h:40: error: ‘MyParserSerial’ does not name a type
GatewayUtil.h:44: error: ‘MAX_PAYLOAD’ was not declared in this scope
GatewayUtil.h:67: error: expected ‘,’ or ‘...’ before ‘&’ token
GatewayUtil.h:67: error: ISO C++ forbids declaration of ‘MyMessage’ with no type
GatewayUtil.h: In function ‘void incomingMessage(int)’:
GatewayUtil.h:74: error: ‘message’ was not declared in this scope
GatewayUtil.h:74: error: ‘mGetCommand’ was not declared in this scope
GatewayUtil.h:74: error: ‘mGetAck’ was not declared in this scope
GatewayUtil.h:74: error: ‘convBuf’ was not declared in this scope
GatewayUtil.h: At global scope:
GatewayUtil.h:98: error: variable or field ‘parseAndSend’ declared void
GatewayUtil.h:98: error: ‘MySensor’ was not declared in this scope
GatewayUtil.h:98: error: ‘gw’ was not declared in this scope
GatewayUtil.h:98: error: expected primary-expression before ‘char’ -
I can confirm that. Just removed 1.6.6 and revert to 1.6.5 and now it is working instantly.
Thank you for the hint.Maybe it's an option to edit the esp8266_gateway page and remove the + from Arduino 1.6.5+ and add a remark that it's not (yet) working on 1.6.6
-
Thanks!! That solved it!!
-
The "Download Libraries" button on this page -> http://www.mysensors.org/about/arduino will give you the 1.5.1 version.
-
This thread helped me as well when I installed Arduino IDE 1.6.7. I still had an old version of the MySensors library kicking around in my Sketch Book (if it isn't broke, don't fix it). I just want to keep this thread alive for awhile. :)