первый проект(esp8266_deauther) ,ищу помощи

smit
Offline
Зарегистрирован: 20.06.2019

здравствуйте. помогите исправить ошибки.
первый проект делаю , не знаю куда смотреть.

проект https://github.com/akarsh98/esp8266_deauther
 

Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Плата:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_CircuitPlayground.h:3:0,

                 from sketch\A_config.h:1,

                 from sketch\LED.h:9,

                 from sketch\LED.cpp:1:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_Circuit_Playground.h:100:3: error: 'Adafruit_CPlay_FreeTouch' does not name a type

   Adafruit_CPlay_FreeTouch     cap[7]; ///< the array of capacitive touch sensors

   ^

In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_CircuitPlayground.h:3:0,

                 from sketch\A_config.h:1,

                 from sketch\DisplayUI.h:5,

                 from sketch\DisplayUI.cpp:1:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_Circuit_Playground.h:100:3: error: 'Adafruit_CPlay_FreeTouch' does not name a type

   Adafruit_CPlay_FreeTouch     cap[7]; ///< the array of capacitive touch sensors

   ^

In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_CircuitPlayground.h:3:0,

                 from sketch\A_config.h:1,

                 from sketch\Settings.h:11,

                 from sketch\Settings.cpp:1:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_Circuit_Playground.h:100:3: error: 'Adafruit_CPlay_FreeTouch' does not name a type

   Adafruit_CPlay_FreeTouch     cap[7]; ///< the array of capacitive touch sensors

   ^

Несколько библиотек найдено для "ArduinoJson.h"
 Используется: C:\Users\1\Documents\Arduino\libraries\ArduinoJson
Не используется: C:\Users\1\Documents\Arduino\libraries\ArduinoJson-6.x
Несколько библиотек найдено для "SH1106Wire.h"
 Используется: C:\Users\1\Documents\Arduino\libraries\esp8266-oled-ssd1306-master
Не используется: C:\Users\1\Documents\Arduino\libraries\ESP8266_and_ESP32_Oled_Driver_for_SSD1306_display
In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_CircuitPlayground.h:3:0,

                 from sketch\A_config.h:1,

                 from sketch\Settings.h:11,

                 from sketch\SSIDs.h:13,

                 from sketch\SSIDs.cpp:1:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_Circuit_Playground.h:100:3: error: 'Adafruit_CPlay_FreeTouch' does not name a type

   Adafruit_CPlay_FreeTouch     cap[7]; ///< the array of capacitive touch sensors

   ^

In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_CircuitPlayground.h:3:0,

                 from sketch\A_config.h:1,

                 from sketch\Settings.h:11,

                 from sketch\SSIDs.h:13,

                 from sketch\Attack.h:12,

                 from sketch\Attack.cpp:1:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_Circuit_Playground.h:100:3: error: 'Adafruit_CPlay_FreeTouch' does not name a type

   Adafruit_CPlay_FreeTouch     cap[7]; ///< the array of capacitive touch sensors

   ^

exit status 1
In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_CircuitPlayground.h:3:0,

                 from sketch\A_config.h:1,

                 from sketch\CLI.h:11,

                 from sketch\CLI.cpp:1:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_Circuit_Playground.h:100:3: error: 'Adafruit_CPlay_FreeTouch' does not name a type

   Adafruit_CPlay_FreeTouch     cap[7]; ///< the array of capacitive touch sensors

   ^

In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_CircuitPlayground.h:3:0,

                 from sketch\A_config.h:1,

                 from sketch\Settings.h:11,

                 from sketch\SSIDs.h:13,

                 from sketch\Scan.h:8,

                 from sketch\Scan.cpp:1:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_Circuit_Playground.h:100:3: error: 'Adafruit_CPlay_FreeTouch' does not name a type

   Adafruit_CPlay_FreeTouch     cap[7]; ///< the array of capacitive touch sensors

   ^

In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_CircuitPlayground.h:3:0,

                 from sketch\A_config.h:1,

                 from sketch\Settings.h:11,

                 from D:\arduino\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino:27:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\Adafruit_Circuit_Playground/Adafruit_Circuit_Playground.h:100:3: error: 'Adafruit_CPlay_FreeTouch' does not name a type

   Adafruit_CPlay_FreeTouch     cap[7]; ///< the array of capacitive touch sensors

   ^

In file included from sketch\wifi.h:16:0,

                 from D:\arduino\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino:51:

C:\Users\1\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2\libraries\ESP8266WebServer\src/ESP8266WebServer.h: In member function 'virtual size_t ESP8266WebServer::_currentClientWrite_P(const char*, size_t)':

C:\Users\1\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2\libraries\ESP8266WebServer\src/ESP8266WebServer.h:142:83: error: 'class WiFiClient' has no member named 'write_P'

   virtual size_t _currentClientWrite_P(PGM_P b, size_t l) { return _currentClient.write_P( b, l ); }

                                                                                   ^

In file included from C:\Users\1\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2\libraries\ESP8266mDNS\src/ESP8266mDNS.h:45:0,

                 from sketch\wifi.h:18,

                 from D:\arduino\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino:51:

C:\Users\1\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2\libraries\ESP8266mDNS\src/ESP8266mDNS_Legacy.h: At global scope:

C:\Users\1\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2\libraries\ESP8266mDNS\src/ESP8266mDNS_Legacy.h:131:3: error: 'WiFiEventHandler' does not name a type

   WiFiEventHandler _disconnectedHandler;

   ^

C:\Users\1\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2\libraries\ESP8266mDNS\src/ESP8266mDNS_Legacy.h:132:3: error: 'WiFiEventHandler' does not name a type

   WiFiEventHandler _gotIPHandler;

   ^

In file included from C:\Users\1\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2\libraries\ESP8266mDNS\src/ESP8266mDNS.h:46:0,

                 from sketch\wifi.h:18,

                 from D:\arduino\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino:51:

C:\Users\1\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2\libraries\ESP8266mDNS\src/LEAmDNS.h:1153:5: error: 'WiFiEventHandler' does not name a type

     WiFiEventHandler                m_DisconnectedHandler;

     ^

C:\Users\1\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.5.2\libraries\ESP8266mDNS\src/LEAmDNS.h:1154:5: error: 'WiFiEventHandler' does not name a type

     WiFiEventHandler                m_GotIPHandler;

     ^

In file included from D:\arduino\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino:51:0:

sketch\wifi.h: In function 'void stopAP()':

wifi.h:86:14: error: 'class WiFiClass' has no member named 'persistent'

         WiFi.persistent(false);

              ^

wifi.h:87:29: error: no matching function for call to 'WiFiClass::disconnect(bool)'

         WiFi.disconnect(true);

                             ^

sketch\wifi.h:87:29: note: candidate is:

In file included from sketch\A_config.h:4:0,

                 from sketch\Settings.h:11,

                 from D:\arduino\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino:27:

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFi.h:130:9: note: int WiFiClass::disconnect()

     int disconnect(void);

         ^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFi.h:130:9: note:   candidate expects 0 arguments, 1 provided

In file included from D:\arduino\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino:51:0:

sketch\wifi.h: In function 'void startAP(String, String, String, uint8_t, bool, bool)':

wifi.h:227:10: error: 'class WiFiClass' has no member named 'softAPConfig'

     WiFi.softAPConfig(apIP, apIP, netMsk);

          ^

wifi.h:228:10: error: 'class WiFiClass' has no member named 'softAP'

     WiFi.softAP(ssid.c_str(), password.c_str(), wifi_channel, hidden);

          ^

sketch\wifi.h: In function 'void resumeAP()':

wifi.h:413:14: error: 'class WiFiClass' has no member named 'softAPConfig'

         WiFi.softAPConfig(apIP, apIP, netMsk);

              ^

wifi.h:414:14: error: 'class WiFiClass' has no member named 'softAP'

         WiFi.softAP(wifi_config_ssid.c_str(), wifi_config_password.c_str(), wifi_channel, wifi_config_hidden);

              ^

D:\arduino\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino: In function 'void setup()':

esp8266_deauther:95:10: error: 'class WiFiClass' has no member named 'mode'

     WiFi.mode(WIFI_OFF);

          ^

esp8266_deauther:95:15: error: 'WIFI_OFF' was not declared in this scope

     WiFi.mode(WIFI_OFF);

               ^

'class WiFiClass' has no member named 'persistent'

Этот отчёт будет иметь больше информации с
включенной опцией Файл -> Настройки ->
"Показать подробный вывод во время компиляции"

 

ЕвгенийП
ЕвгенийП аватар
Offline
Зарегистрирован: 25.05.2015

Для первого проекта это слишком сложно. Начните с чего-нибудь попроще.

Помочь Вам невозможно, можно только сделать за Вас.

negavoid
Offline
Зарегистрирован: 09.07.2016

smit пишет:
первый проект делаю , не знаю куда смотреть.

В первую очередь смотреть в уголовный кодекс, вот сюда:

http://www.consultant.ru/document/cons_doc_LAW_10699/a4d58c1af8677d94b4fc8987c71b131f10476a76/

и сюда

http://www.consultant.ru/document/cons_doc_LAW_10699/b5a4306016ca24a588367791e004fe4b14b0b6c9/

ЕвгенийП
ЕвгенийП аватар
Offline
Зарегистрирован: 25.05.2015

negavoid пишет:

В первую очередь смотреть в уголовный кодекс

+100500