Open mano1979 opened 3 years ago
After switching to te sdfat library version 1.0.16 I just get this:
`
sketch/Printer_3D.ino.cpp.o: In function blink()': /Users/biletsky/Documents/Arduino/Printer_3D/Printer_3D.ino:169: undefined reference to
ESPWebDAV::isClientWaiting()'
/Users/biletsky/Documents/Arduino/Printer_3D/Printer_3D.ino:170: undefined reference to ESPWebDAV::rejectClient(String)' sketch/Printer_3D.ino.cpp.o:(.text.loop+0x18): undefined reference to
ESPWebDAV::handleClient(String)'
sketch/Printer_3D.ino.cpp.o:(.text.loop+0x42): undefined reference to ESPWebDAV::isClientWaiting()' sketch/Printer_3D.ino.cpp.o: In function
loop':
/Users/biletsky/Documents/Arduino/Printer_3D/Printer_3D.ino:119: undefined reference to ESPWebDAV::rejectClient(String)' /Users/biletsky/Documents/Arduino/Printer_3D/Printer_3D.ino:124: undefined reference to
ESPWebDAV::handleClient(String)'
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board Generic ESP8266 Module.`
I put the WebSrv.cpp file in a similar named folder in de the libraries folder. However on compilation I get this error:
/Users/biletsky/Documents/Arduino/Printer_3D/Printer_3D.ino: In function 'void setup()': Printer_3D:96:49: error: no matching function for call to 'ESPWebDAV::init(int, long unsigned int, int)' if(!dav.init(SD_CS, SPI_FULL_SPEED, SERVER_PORT)) { ^ /Users/biletsky/Documents/Arduino/Printer_3D/Printer_3D.ino:96:49: note: candidate is: In file included from /Users/biletsky/Documents/Arduino/Printer_3D/Printer_3D.ino:5:0: /Users/biletsky/Documents/Arduino/libraries/ESPWebDAV/ESPWebDAV.h:22:7: note: bool ESPWebDAV::init(int, SPISettings, int) bool init(int chipSelectPin, SPISettings spiSettings, int serverPort); ^ /Users/biletsky/Documents/Arduino/libraries/ESPWebDAV/ESPWebDAV.h:22:7: note: no known conversion for argument 2 from 'long unsigned int' to 'SPISettings' exit status 1 no matching function for call to 'ESPWebDAV::init(int, long unsigned int, int)'
How would I solve this?