ESPloitV2 icon indicating copy to clipboard operation
ESPloitV2 copied to clipboard

"*** was not declared in this scope" when trying to export compiled binary

Open Zeklyn opened this issue 6 years ago • 0 comments

Hello, I am trying to flash ESPloitV2 onto my whid cactus usb pin. I've followed the tutorial and everything works until I get to ESP_Code where I have to click "export compiled binary". Doing so results in five "**** was not cleared in this scope"

Flash size is the correct amount and board is ""Generic ESP8266 Module". Below are the errors

C:\Users\Zeklyn\Desktop\ESPloitV2-master\source\ESP_Code\ESP_Code.ino: In function 'void handleSettings()': ESP_Code:310: error: 'handleSubmitSettings' was not declared in this scope

C:\Users\Zeklyn\Desktop\ESPloitV2-master\source\ESP_Code\ESP_Code.ino: In function 'void handleSubmitSettings()': ESP_Code:360: error: 'saveConfig' was not declared in this scope

ESP_Code:362: error: 'loadConfig' was not declared in this scope

C:\Users\Zeklyn\Desktop\ESPloitV2-master\source\ESP_Code\ESP_Code.ino: In function 'bool loadDefaults()': ESP_Code:410: error: 'loadConfig' was not declared in this scope

exit status 1 'handleSubmitSettings' was not declared in this scope

I first used the most recent version of "esp8266 by ESP8266", and "ArduinoJson by Benoit Blanchon". I somehow thought that could be an issue so I changed to the version listed in the readme, but it didn't change anything.

Operation System: Windows 10 v1903 (Build 18362.418) Arduino IDE Version: 1.6.9 (due to 1.8.10 required me to rewrite parts of the code to json v6 instead of v5)

I've tried searching around, and I have to admit that I am not the best in arduinos. Any help is appreciated.

Zeklyn avatar Oct 23 '19 16:10 Zeklyn