justcallmekoko / ESP32Marauder

A suite of WiFi/Bluetooth offensive and defensive tools for the ESP32
6.18k stars 648 forks source link

compilation error. issues with espasyncserver and linked list libraries #561

Open valerian736 opened 3 months ago

valerian736 commented 3 months ago

In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\WiFiScan.h:16, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.h:13, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: error: redeclared with 2 template parameters class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:26:7: note: previous declaration 'template class LinkedList' used 1 template parameter class LinkedList{ ^~~~~~ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\WiFiScan.h:16, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.h:13, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h: In constructor 'StringArray::StringArray()': c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:187:37: error: no matching function for call to 'LinkedList::LinkedList(std::nullptr_t)' StringArray() : LinkedList(nullptr) {} ^ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:181:1: note: candidate: 'LinkedList::LinkedList(int, T) [with T = String]' LinkedList::LinkedList(int sizeIndex, T _t){ ^~~~~ c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:181:1: note: candidate expects 2 arguments, 1 provided c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:113:1: note: candidate: 'LinkedList::LinkedList() [with T = String]' LinkedList::LinkedList() ^~~~~ c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:113:1: note: candidate expects 0 arguments, 1 provided c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:26:7: note: candidate: 'constexpr LinkedList::LinkedList(const LinkedList&)' class LinkedList{ ^~~~~~ c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:26:7: note: no known conversion for argument 1 from 'std::nullptr_t' to 'const LinkedList&' In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\WiFiScan.h:16, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.h:13, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h: In member function 'bool StringArray::containsIgnoreCase(const String&)': c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:190:27: error: 'begin' was not declared in this scope for (const auto& s : this) { ^~~~ c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:190:27: note: suggested alternative: In file included from c:\users\valer\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\string:51, from c:\users\valer\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\stdexcept:39, from c:\users\valer\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\array:39, from c:\users\valer\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\tuple:39, from c:\users\valer\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\bits\unique_ptr.h:37, from c:\users\valer\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\memory:80, from C:\Users\valer\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\libraries\FS\src/FS.h:24, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:886, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.cpp:1: c:\users\valer\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\bits\range_access.h:87:5: note: 'std::begin' begin(_Tp (&__arr)[_Nm]) ^~~~~ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\WiFiScan.h:16, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.h:13, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:190:27: error: 'end' was not declared in this scope for (const auto& s : this) { ^~~~ c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:190:27: note: suggested alternative: In file included from c:\users\valer\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\string:51, from c:\users\valer\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\stdexcept:39, from c:\users\valer\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\array:39, from c:\users\valer\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\tuple:39, from c:\users\valer\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\bits\unique_ptr.h:37, from c:\users\valer\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\memory:80, from C:\Users\valer\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\libraries\FS\src/FS.h:24, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:886, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.cpp:1: c:\users\valer\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\bits\range_access.h:97:5: note: 'std::end' end(_Tp (&__arr)[_Nm]) ^~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\WiFiScan.h:16, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.h:13, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h: At global scope: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:449:36: error: 'ConstIterator' in 'using headers_t = class LinkedList<AsyncWebHeader>' {aka 'class LinkedList<AsyncWebHeader>'} does not name a type using ConstIterator = headers_t::ConstIterator; ^~~~~ c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:455:3: error: 'ConstIterator' does not name a type ConstIterator begin() const { return _headers.begin(); } ^~~~~ c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:456:3: error: 'ConstIterator' does not name a type ConstIterator end() const { return _headers.end(); } ^~~~~ c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h: In constructor 'DefaultHeaders::DefaultHeaders()': c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:446:57: error: no matching function for call to 'LinkedList<AsyncWebHeader>::LinkedList(DefaultHeaders::DefaultHeaders()::<lambda(AsyncWebHeader)>)' :_headers(headers_t([](AsyncWebHeader h){ delete h; })) ^ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:181:1: note: candidate: 'LinkedList::LinkedList(int, T) [with T = AsyncWebHeader]' LinkedList::LinkedList(int sizeIndex, T _t){ ^~~~~ c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:181:1: note: candidate expects 2 arguments, 1 provided c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:113:1: note: candidate: 'LinkedList::LinkedList() [with T = AsyncWebHeader]' LinkedList::LinkedList() ^~~~~ c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:113:1: note: candidate expects 0 arguments, 1 provided c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:26:7: note: candidate: 'constexpr LinkedList<AsyncWebHeader>::LinkedList(const LinkedList<AsyncWebHeader>&)' class LinkedList{ ^~~~~~ c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:26:7: note: no known conversion for argument 1 from 'DefaultHeaders::DefaultHeaders()::<lambda(AsyncWebHeader)>' to 'const LinkedList<AsyncWebHeader>&' In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:468, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\WiFiScan.h:16, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.h:13, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncWebSocket.h: In member function 'bool AsyncWebSocketClient::canSend()': c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncWebSocket.h:233:43: error: 'class LinkedList<AsyncWebSocketMessage>' has no member named 'length' bool canSend() { return _messageQueue.length() < WS_MAX_QUEUED_MESSAGES; } ^~ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:469, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\WiFiScan.h:16, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.h:13, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\CommandLine.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncEventSource.h: In member function 'size_t AsyncEventSourceClient::packetsWaiting() const': c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/AsyncEventSource.h:93:59: error: 'const class LinkedList<AsyncEventSourceMessage>' has no member named 'length' size_t packetsWaiting() const { return _messageQueue.length(); } ^~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:26:7: error: redeclared with 1 template parameter class LinkedList{ ^~~~~~ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: previous declaration 'template<class T, template class Item> class LinkedList' used 2 template parameters class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:113:27: error: invalid use of incomplete type 'class LinkedList' LinkedList::LinkedList() ^ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: declaration of 'class LinkedList' class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:126:28: error: invalid use of incomplete type 'class LinkedList' LinkedList::~LinkedList() ^ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: declaration of 'class LinkedList' class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:145:46: error: invalid use of incomplete type 'class LinkedList' ListNode LinkedList::getNode(int index){ ^ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: declaration of 'class LinkedList' class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:176:25: error: invalid use of incomplete type 'class LinkedList' int LinkedList::size(){ ^ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: declaration of 'class LinkedList' class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:181:46: error: invalid use of incomplete type 'class LinkedList' LinkedList::LinkedList(int sizeIndex, T _t){ ^ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: declaration of 'class LinkedList' class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:188:40: error: invalid use of incomplete type 'class LinkedList' bool LinkedList::add(int index, T _t){ ^ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: declaration of 'class LinkedList' class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:209:29: error: invalid use of incomplete type 'class LinkedList' bool LinkedList::add(T _t){ ^ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: declaration of 'class LinkedList' class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:232:33: error: invalid use of incomplete type 'class LinkedList' bool LinkedList::unshift(T _t){ ^ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: declaration of 'class LinkedList' class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:250:39: error: invalid use of incomplete type 'class LinkedList' T& LinkedList::operator[](int index) { ^ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: declaration of 'class LinkedList' class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:255:40: error: invalid use of incomplete type 'class LinkedList' bool LinkedList::set(int index, T _t){ ^ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: declaration of 'class LinkedList' class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:265:22: error: invalid use of incomplete type 'class LinkedList' T LinkedList::pop(){ ^ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: declaration of 'class LinkedList' class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:291:24: error: invalid use of incomplete type 'class LinkedList' T LinkedList::shift(){ ^ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: declaration of 'class LinkedList' class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:312:34: error: invalid use of incomplete type 'class LinkedList' T LinkedList::remove(int index){ ^ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: declaration of 'class LinkedList' class LinkedList { ^~~~~~ In file included from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\configs.h:888, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:10, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\LinkedList/LinkedList.h:338:31: error: invalid use of incomplete type 'class LinkedList' T LinkedList::get(int index){ ^ In file included from c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/ESPAsyncWebServer.h:29, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.h:6, from C:\Users\valer\Downloads\ESP32Marauder-master (1)\ESP32Marauder-master\esp32_marauder\EvilPortal.cpp:1: c:\Users\valer\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer\src/StringArray.h:39:7: note: declaration of 'class LinkedList' class LinkedList { ^~~~~~

Multiple libraries were found for "SD.h" Used: C:\Users\valer\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.15\libraries\SD Not used: C:\Users\valer\AppData\Local\Arduino15\libraries\SD exit status 1

Compilation error: no matching function for call to 'LinkedList::LinkedList()'

3mar7 commented 3 months ago

Can anyone help me with error message? The message is no matching function for call to Linkedlist::Linkedlist

I already installed Linkedlist library I really need help 😕