nhatuan84 / esp32-micro-sdcard

120 stars 46 forks source link

'File' does not name a type #10

Open KK4HFJ opened 1 year ago

KK4HFJ commented 1 year ago

I've downloaded and included the libraries:

include "UDHttp.h"

include "mySD.h>"

When I try to compile,

Demo 39: ESP32/8266 multipart upload a file and download a file via HTTP

I get the above error. I am using a ESP32 and Arduino 2.0.3

It bombs on:

File root;

KK4HFJ commented 1 year ago

ah, missed the ext::File instead of File instruction. Probably should update the sample code? Now I have new issues, but will create a different issue for that.