-
Notifications
You must be signed in to change notification settings - Fork 35
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
Home Range Not declared in this scope #7
Comments
I've since figured out the versioning issue of homie and now using devel branch with homie 2.0. Now this is happening (all their example ino files build normally. Is it this sketch or my build? Arduino: 1.8.1 (Mac OS X), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None" /Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/john/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/john/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/john/Documents/Arduino/libraries -fqbn=esp8266:esp8266:generic:CpuFrequency=80,FlashFreq=40,FlashMode=dio,UploadSpeed=115200,FlashSize=512K64,ResetMethod=ck,Debug=Disabled,DebugLevel=None____ -ide-version=10801 -build-path /var/folders/tc/j87mr7r54r5_c2vr57wnwvzr0000gn/T/arduino_build_158498 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=/Users/john/Library/Arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2 -prefs=runtime.tools.esptool.path=/Users/john/Library/Arduino15/packages/esp8266/tools/esptool/0.4.9 -prefs=runtime.tools.mkspiffs.path=/Users/john/Library/Arduino15/packages/esp8266/tools/mkspiffs/0.1.2 -verbose /Users/john/Downloads/esp8266Switch-master/esp8266Switch-master/src/esp8266Switch/esp8266Switch.ino |
Arduino: 1.8.5 (Linux), Board: "Generic ESP8266 Module, 80 MHz, ck, 26 MHz, 40MHz, QIO, 512K (no SPIFFS), v2 Prebuilt (MSS=536), Disabled, None, 115200" WARNING: Spurious .circleci folder in 'Homie' library This report would have more information with |
I kind of ran into the same sort of thing. It's a code thing. Did you see my blog? Anything written on my blog regarding code issues was solved for me by Scott and/or the Homie developers. http://www.hagensieker.com/blog/page/?post_id=44&title=esp8266-hack-of-inexpensive-wifi-outlet |
I have the following issue when compiling on Arduino 1.8.1 on mac. I have installed Homie with all libraries as per their Readme.
`Arduino: 1.8.1 (Mac OS X), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, QOUT, 9600, 512K (64K SPIFFS), ck, Disabled, None"
esp8266Switch:13: error: 'HomieRange' was not declared in this scope
bool lightOnHandler(HomieRange range, String value) {
^
esp8266Switch:13: error: expected primary-expression before 'value'
bool lightOnHandler(HomieRange range, String value) {
^
esp8266Switch:13: error: expression list treated as compound expression in initializer [-fpermissive]
bool lightOnHandler(HomieRange range, String value) {
^
esp8266Switch:13: error: redefinition of 'bool lightOnHandler'
bool lightOnHandler(HomieRange range, String value) {
^
esp8266Switch:13: error: 'bool lightOnHandler' previously defined here
bool lightOnHandler(HomieRange range, String value) {
^
esp8266Switch:13: error: 'HomieRange' was not declared in this scope
bool lightOnHandler(HomieRange range, String value) {
^
esp8266Switch:13: error: expected primary-expression before 'value'
bool lightOnHandler(HomieRange range, String value) {
^
exit status 1
'HomieRange' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
`
The text was updated successfully, but these errors were encountered: