PLDuino.h error

If anyone can help me figure out whyI keep getting the following error and how to fix it, I would really appreciate it. Thanks

fatal error: PLDuino.h: No such file or directory

#include <PLDuino.h>

^

compilation terminated.

exit status 1
Error compiling for board Generic ESP8266 Module.

Looks like Arduino IDE is looking for the file "PLDuino.h" but can't find

Try attaching the sketch to your post. Then people here can assist you better.

You are trying to use a library called PLDUINO and you did not install it.

I have all the libraries installed and I am still getting that error

Kkozlows:
I have all the libraries installed and I am still getting that error

Either that statement is wrong, or they are not installed in the proper place.

Where did you get the PLDuino library?

I installed the correct libraries and now I get more errors.

Arduino: 1.8.5 (Windows 7), Board: "Generic ESP8266 Module, 80 MHz, ck, 26 MHz, 40MHz, QIO, 512K (no SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Build options changed, rebuilding all
C:\Users\KKozlows\AppData\Local\Temp\Temp1_plduino (8).zip\plduino\plduino.ino: In function 'void setup()':

plduino:166: error: 'Serial2' was not declared in this scope

Serial2.begin(FLASH_ESP_BAUD);

^

plduino:174: error: request for member 'html' in 'index', which is of non-class type 'char*(const char*, int)'

File f = SD.open(index.html, FILE_READ);

^

plduino:176: error: no matching function for call to 'ESP8266WebServer::on(const char [2], int)'

server.on("w", f.read());

^

C:\Users\KKozlows\AppData\Local\Temp\Temp1_plduino (8).zip\plduino\plduino.ino:176:30: note: candidates are:

In file included from C:\Users\KKozlows\AppData\Local\Temp\Temp1_plduino (8).zip\plduino\plduino.ino:3:0:

C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:87:8: note: void ESP8266WebServer::on(const String&, ESP8266WebServer::THandlerFunction)

void on(const String &uri, THandlerFunction handler);

^

C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:87:8: note: no known conversion for argument 2 from 'int' to 'ESP8266WebServer::THandlerFunction {aka std::function<void()>}'

C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:88:8: note: void ESP8266WebServer::on(const String&, HTTPMethod, ESP8266WebServer::THandlerFunction)

void on(const String &uri, HTTPMethod method, THandlerFunction fn);

^

C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:88:8: note: candidate expects 3 arguments, 2 provided

C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:89:8: note: void ESP8266WebServer::on(const String&, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)

void on(const String &uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);

^

C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:89:8: note: candidate expects 4 arguments, 2 provided

plduino:195: error: no match for call to '(ESP8266WebServer) (char&)'

int a = server(label);

^

plduino:197: error: converting to 'const String' from initializer list would use explicit constructor 'String::String(int, unsigned char)'

server.on(a, LEDdim);

^

In file included from C:\Users\KKozlows\AppData\Local\Temp\Temp1_plduino (8).zip\plduino\plduino.ino:3:0:

C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:87:8: error: initializing argument 1 of 'void ESP8266WebServer::on(const String&, ESP8266WebServer::THandlerFunction)'

void on(const String &uri, THandlerFunction handler);

^

Multiple libraries were found for "SD.h"
Used: C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SD
Not used: C:\Users\KKozlows\Documents\Arduino\libraries\SD
Not used: C:\Program Files (x86)\Arduino\libraries\SD
exit status 1
'Serial2' was not declared in this scope

C:\Users\KKozlows\Documents\Arduino\sketch_jul03a\sketch_jul03a.ino: In function 'void setup()':

sketch_jul03a:175: error: request for member 'html' in 'index', which is of non-class type 'char*(const char*, int)'

File f = SD.open(index.html, FILE_READ);

^

sketch_jul03a:177: error: no matching function for call to 'ESP8266WebServer::on(const char [2], int)'

server.on("w", f.read());

^

C:\Users\KKozlows\Documents\Arduino\sketch_jul03a\sketch_jul03a.ino:177:30: note: candidates are:

In file included from C:\Users\KKozlows\Documents\Arduino\sketch_jul03a\sketch_jul03a.ino:4:0:

C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:87:8: note: void ESP8266WebServer::on(const String&, ESP8266WebServer::THandlerFunction)

void on(const String &uri, THandlerFunction handler);

^

C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:87:8: note: no known conversion for argument 2 from 'int' to 'ESP8266WebServer::THandlerFunction {aka std::function<void()>}'

C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:88:8: note: void ESP8266WebServer::on(const String&, HTTPMethod, ESP8266WebServer::THandlerFunction)

void on(const String &uri, HTTPMethod method, THandlerFunction fn);

^

C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:88:8: note: candidate expects 3 arguments, 2 provided

C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:89:8: note: void ESP8266WebServer::on(const String&, HTTPMethod, ESP8266WebServer::THandlerFunction, ESP8266WebServer::THandlerFunction)

void on(const String &uri, HTTPMethod method, THandlerFunction fn, THandlerFunction ufn);

^

C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:89:8: note: candidate expects 4 arguments, 2 provided

sketch_jul03a:196: error: no match for call to '(ESP8266WebServer) (char&)'

int a = server(label);

^

sketch_jul03a:198: error: converting to 'const String' from initializer list would use explicit constructor 'String::String(int, unsigned char)'

server.on(a, LEDdim);

^

In file included from C:\Users\KKozlows\Documents\Arduino\sketch_jul03a\sketch_jul03a.ino:4:0:

C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WebServer\src/ESP8266WebServer.h:87:8: error: initializing argument 1 of 'void ESP8266WebServer::on(const String&, ESP8266WebServer::THandlerFunction)'

void on(const String &uri, THandlerFunction handler);

^

Multiple libraries were found for "SD.h"
Used: C:\Users\KKozlows\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SD
Not used: C:\Users\KKozlows\Documents\Arduino\libraries\SD
Not used: C:\Program Files (x86)\Arduino\libraries\SD
exit status 1
request for member 'html' in 'index', which is of non-class type 'char*(const char*, int)'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Arduino: 1.8.5 (Windows 7), Board: "Generic ESP8266 Module, 80 MHz, ck, 26 MHz, 40MHz, QIO, 512K (no SPIFFS), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Build options changed, rebuilding all
C:\Users\KKozlows\AppData\Local\Temp\Temp1_plduino (8).zip\plduino\plduino.ino: In function 'void setup()':

plduino:166: error: 'Serial2' was not declared in this scope

Serial2.begin(FLASH_ESP_BAUD);

You probably have the wrong board selected. The ESP82166 doesn't have Serial2.

wvmarle:
You probably have the wrong board selected. The ESP82166 doesn't have Serial2.

Or that library is not compatible with the ESP8266.