vpcola / ESP32SingleChannelGateway

A Fork of the popular ESP8266 single channel gateway adapted to ESP32 on the 915Mhz band.
74 stars 46 forks source link

error compiling #7

Open josmargoncal opened 5 years ago

josmargoncal commented 5 years ago

Hi. I follow all the steps and when I try compiling the arduinio IDE say.

ESP-sc-gway:194:22: error: expected initializer before 'Interrupt_0'

ESP-sc-gway:195:22: error: expected initializer before 'Interrupt_1'

ESP-sc-gway:199:24: error: expected initializer before 'CreateMutux'

ESP-sc-gway:200:24: error: expected initializer before 'GetMutex'

ESP-sc-gway:201:24: error: expected initializer before 'ReleaseMutex'

_loraModem:1448:22: error: expected initializer before 'Interrupt_2'

C:\Users\JoséM\Documents\Arduino\ESP-sc-gway\ESP-sc-gway.ino: In function 'void setup()':

ESP-sc-gway:1317:30: error: 'Interrupt_0' was not declared in this scope

ESP-sc-gway:1323:30: error: 'Interrupt_0' was not declared in this scope

ESP-sc-gway:1324:30: error: 'Interrupt_1' was not declared in this scope

C:\Users\JoséM\Documents\Arduino\ESP-sc-gway_loraModem.ino: At global scope:

_loraModem:1423:22: error: expected initializer before 'Interrupt_0'

_loraModem:1440:22: error: expected initializer before 'Interrupt_1'

_loraModem:1448:22: error: expected initializer before 'Interrupt_2'

exit status 1 expected initializer before 'Interrupt_0'

elsabz commented 5 years ago

Hi i have the same problem expected initializer before 'Interrupt_0'

josmargoncal commented 5 years ago

Hi, I solve the problem with the new version of the library from https://github.com/things4u.

elsabz commented 5 years ago

Hi, wen i try to compile with new version i have thys problem:

include no such file or directory....

josmargoncal commented 5 years ago

Google for DNSServer.h library and copy it at the arduino IDE library folder.

elsabz commented 5 years ago

Ok i made and now the compiling process go forward... But i get one error without information.. Also compiling error .... The last information is: C:\Users\username\Documents\ArduinoData\packages\esp32\hardware\esp32\1.0.0\libraries\ArduinoOTA exit status 1 Thank you

josmargoncal commented 5 years ago

Ok, try to download the new version of arduino IDE and install again the library. That was for my the solution

elsabz commented 5 years ago

my version of Arduino IDE is already the last (1.8.7) I manually removed some libraries that included header files with the same name, starting with the first report as long as the compiling was successful! Now I will have to try the LoraGetway ... in the meantime, thank you

elsabz commented 5 years ago

Hi, i have success with the LoraGateway :-) It's Work, i register on the things network and is connected... I have two TTGO ESP32 Lora V1 , one is the gateway and the second is the node. You can say me wo i can take the software for node?

josmargoncal commented 5 years ago

Google "nodo esp32 lorawan akirasan" Follow the instructions, maybe you will need traslate it becouse is in spanish