Another one Arduino compiling passed and ESP32 failed,

Hi all,
checked few of similar posts, didn't get clue yet.
link: https://github.com/middelbh/GPSnavigator/blob/master/GPSNavigator.ino

CODE:

#include <Adafruit_GFX.h>    //                         Core graphics library
#include <Adafruit_TFTLCD.h> //                         Hardware-specific library
#include <SD.h>//                                       SD library
#include <SPI.h>//                                      SPI library
#include <EEPROM.h>//                                   EEPROM library
#include <TinyGPS.h>//                                  Tiny GPS library

#define LCD_CS A3 //                                    Chip Select goes to Analog 3
#define LCD_CD A2 //                                    Command/Data goes to Analog 2
#define LCD_WR A1 //                                    LCD Write goes to Analog 1
#define LCD_RD A0 //                                    LCD Read goes to Analog 0
#define SD_CS 10     //                                 Set the chip select line to whatever you use (10 doesnt conflict with the library)
#define BUFFPIXEL 80//                                  To increase speed for display we use a buffer

float    latitude=51.687994;//Sint Jan; will be used as long as no GPS signal is recieved
float    longitude=5.308396;

float    oldlat,oldlon;//                               In order to check if the position has changed we need the old position 
float    Lat1,Lat2,Lon1,Lon2;//                         Position of left top and right bottom of BMP, read from boundarykl.dat
int      XPos,YPos;
File     boundaryfile;
String   FileNameMap;
char     FileNameString[8]; //                          char array to copy the String into
unsigned long fix_age;

TinyGPS gps; //                                         create gps object
Adafruit_TFTLCD tft(LCD_CS, LCD_CD, LCD_WR, LCD_RD, A4);

void setup(){
  Serial.begin(9600);
  tft.reset();
  uint16_t identifier = tft.readID();
  tft.begin(identifier);
  tft.fillScreen(0x0000);
}

float arraytofloat1(char input[]){
  float b=0.0;
  float c=10.0;
  for(int t=0;t<10;t++){
    float a=0.0;
    a=input[t]-'0';
    b=b+c*a;
    c=c*0.1;
  }
  return b;
}

void Readline(){
  char Buf1[12];
  char Dummy[1];
  boundaryfile.read(Buf1,12);
  Lat1=arraytofloat1(Buf1);//                           Top latitude
  boundaryfile.read(Dummy,1);//                         Comma separator
  boundaryfile.read(Buf1,12);
  Lat2=arraytofloat1(Buf1);//                           Bottom latitude
  boundaryfile.read(Dummy,1);//                         Comma separator 
  boundaryfile.read(Buf1,12);
  Lon1=arraytofloat1(Buf1);//                           Left longitude            
  boundaryfile.read(Dummy,1);//                         Comma separator
  boundaryfile.read(Buf1,12);
  Lon2=arraytofloat1(Buf1);//                           Right longitude
  boundaryfile.read(Dummy,1);//                         Comma separator
  boundaryfile.read(Buf1,7);
  for(int teller=0;teller<7;teller++){//                Filename
   FileNameMap+=Buf1[teller];
  } 
  boundaryfile.read(Dummy,1);
  boundaryfile.read(Dummy,1);
}

uint16_t read16(File f) {
  uint16_t result;
  ((uint8_t *)&result)[0] = f.read(); //                LSB
  ((uint8_t *)&result)[1] = f.read(); //                MSB
  return result;
}

uint32_t read32(File f) {
  uint32_t result;
  ((uint8_t *)&result)[0] = f.read(); //                LSB
  ((uint8_t *)&result)[1] = f.read();
  ((uint8_t *)&result)[2] = f.read();
  ((uint8_t *)&result)[3] = f.read(); //                MSB
  return result;
}

void bmpDraw(char *filename) {
  File     bmpFile;
  uint32_t bmpImageoffset;//                            Start of image data in file
  uint32_t bmpWidth;// 
  uint32_t bmpHeight;//  
  uint8_t  sdbuffer[BUFFPIXEL]; //                      pixel in buffer (R+G+B per pixel)
  uint16_t lcdbuffer[BUFFPIXEL];  //                    pixel out buffer (16-bit per pixel)
  uint8_t  buffidx = sizeof(sdbuffer); //               Current position in sdbuffer
  boolean  flip = true;//                               BMP is stored bottom-to-top
  int      row, col;
  uint8_t  b, hi, lo;
  uint32_t pos = 0;
  uint8_t  lcdidx = 0;
  boolean  first = true;
  uint16_t ColDef;
  uint8_t dum,blue,green,red;
  if ((bmpFile = SD.open(filename)) == NULL) { //       Open requested file on SD card
      tft.setCursor(0, 0);
      tft.setTextColor(0xFFFF);  tft.setTextSize(2);
      tft.println("Map not found");
    return;
  }
  if(read16(bmpFile) == 0x4D42) { //                    2  BMP signature 
    (void)read32(bmpFile);//                            4  File size
    (void)read32(bmpFile); //                           4  creator bytes
    bmpImageoffset = read32(bmpFile); //                4  Start of image data
    (void)read32(bmpFile);//                            4  Header size
    bmpWidth  = read32(bmpFile);//                      4  bmp Width
    bmpHeight = read32(bmpFile);//                      4  bmp Height
    if(read16(bmpFile) == 1) { //                       2  # planes -- must be '1'
      (void)read16(bmpFile);//                          2  bits per pixel
      (void)read32(bmpFile);//                          4  0 = uncompressed
      for (int t=0;t<20;t++){
        dum=bmpFile.read();
      }
      for (int t=0;t<255;t++){//                        start reading color definitions
        blue=bmpFile.read();//                          As we do not want to write to the EEPROM too often
        green=bmpFile.read();//                         we check if the stored colordefinition is changed
        red=bmpFile.read();//                           otherwise we do not write to EEPROM!
        dum=bmpFile.read();
        ColDef=tft.color565(red,green,blue);//          convert to 16 bit color
        if(EEPROM.read(t*2) != highByte(ColDef)){//     if highbyte differs, write to EEPROM
          EEPROM.write(t*2,highByte(ColDef));
        }
        if(EEPROM.read(t*2+1) != lowByte(ColDef)) {//   if lowbyte differs, write to EEPROM
          EEPROM.write(t*2+1,lowByte(ColDef));
        }
      }  
      int hx=120;
      int hy=160;
      XPos=(longitude-Lon1)*bmpWidth/(Lon2-Lon1)-hx;
      if(XPos<0){
        XPos=XPos+hx;
      }
      if(XPos>bmpWidth){
        XPos=XPos-hx;
      }
      YPos=-1*(latitude-Lat1)*bmpHeight/(Lat1-Lat2)-hy;
      if(YPos<0){
        YPos=YPos+hy;
      }
      if(YPos>bmpHeight){
        YPos=YPos-hy;
      }
      tft.setCursor(0, 300);
      tft.setTextColor(0xFFFF);  tft.setTextSize(2);
      tft.print("Map in use: ");
      tft.println(filename);
      tft.setAddrWindow(0,0,tft.width()-1,tft.height()-22);// Set TFT address window to clipped image bounds
      for (row=0; row<tft.height()-21; row++) { 
        if(flip) //                                     Bitmap is stored bottom-to-top order (normal BMP)
          pos = bmpImageoffset + (bmpHeight - 1 - row-YPos) * bmpWidth+XPos;
        else     //                                     Bitmap is stored top-to-bottom
          pos = bmpImageoffset + row * bmpWidth;
        if(bmpFile.position() != pos) { //              Need seek?
          bmpFile.seek(pos);
          buffidx = sizeof(sdbuffer); //                Force buffer reload
        }
        for (col=0; col<tft.width(); col++) { //        For each column...
          if (buffidx >= sizeof(sdbuffer)) { //         Time to read more pixel data?
            if(lcdidx > 0) {//                          Push LCD buffer to the display first
              tft.pushColors(lcdbuffer, lcdidx, first);
              lcdidx = 0;
              first  = false;
            }
            bmpFile.read(sdbuffer, sizeof(sdbuffer));
            buffidx = 0; //                             Set index to beginning
          }
          b = sdbuffer[buffidx++];//                    read pixelcolor
          hi=EEPROM.read(b*2);//                        read highbyte of 16 bit colordefinition
          lo=EEPROM.read(b*2+1);//                      read lowbyte of 16 bit colordefinition
          ColDef=256*hi+lo;//                           set color
          lcdbuffer[lcdidx++] = ColDef;
        } //                                            end column
      } //                                              end row
      if(lcdidx > 0) {//                                Write any remaining data to LCD
        tft.pushColors(lcdbuffer, lcdidx, first);
      } 
    }
  }
  bmpFile.close();
}

void findbmp(){
  SD.begin(SD_CS);
  boundaryfile = SD.open("boundkl.dat");
  for(int teller=0;teller<304;teller++){
    FileNameMap="";
    Readline();
    if((latitude<=Lat1) && (latitude>=Lat2) && (longitude>=Lon1) && (longitude<=Lon2)){
      boundaryfile.close();
      return;
    }
  }
  tft.fillScreen(0x0000);
  tft.setCursor(10,100);
  tft.println("No map found!");
  FileNameMap="";
  boundaryfile.close();
}

void check(){
  findbmp();
  FileNameMap.toCharArray(FileNameString, FileNameMap.length() + 1); //Copy the string (+1 is to hold the terminating null char)  
  bmpDraw(FileNameString);
  int16_t x0=100;
  int16_t y0=160;
  int16_t w0=40;
  uint16_t color=0xF0F0;
  for(int t=-1;t<2;t++){
    tft.drawFastHLine(x0, y0+t, w0,  color);
    tft.drawFastVLine(x0+20+t,y0-20,w0,color);
  }  
}

void loop(){
  if (Serial.available() > 0) {
    //                                                  read the incoming byte:
    if(gps.encode(Serial.read())){ //                   encode gps data
      gps.f_get_position(&latitude,&longitude,&fix_age); // get latitude and longitude
    }
  }
  if(latitude!=oldlat || longitude!=oldlon){//          Only renew if position has changed
  check();
  oldlat=latitude;
  oldlon=longitude;
  }
}

ERROR:

Arduino: 1.8.19 (Windows 7), Board: "ESP32S2 Dev Module, FTDI Adapter, Disabled, Disabled, Disabled, UART0, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi), QIO, 80MHz, 4MB (32Mb), 921600, None, Disabled"

C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21d\sketch_jul21d.ino: In function 'void Readline()':

sketch_jul21d:52:21: error: invalid conversion from 'char*' to 'uint8_t*' {aka 'unsigned char*'} [-fpermissive]

   boundaryfile.read(Buf1,12);

                     ^~~~

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21d\sketch_jul21d.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:26: note:   initializing argument 1 of 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

                 ~~~~~~~~~^~~

sketch_jul21d:54:21: error: invalid conversion from 'char*' to 'uint8_t*' {aka 'unsigned char*'} [-fpermissive]

   boundaryfile.read(Dummy,1);//                         Comma separator

                     ^~~~~

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21d\sketch_jul21d.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:26: note:   initializing argument 1 of 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

                 ~~~~~~~~~^~~

sketch_jul21d:55:21: error: invalid conversion from 'char*' to 'uint8_t*' {aka 'unsigned char*'} [-fpermissive]

   boundaryfile.read(Buf1,12);

                     ^~~~

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21d\sketch_jul21d.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:26: note:   initializing argument 1 of 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

                 ~~~~~~~~~^~~

sketch_jul21d:57:21: error: invalid conversion from 'char*' to 'uint8_t*' {aka 'unsigned char*'} [-fpermissive]

   boundaryfile.read(Dummy,1);//                         Comma separator

                     ^~~~~

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21d\sketch_jul21d.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:26: note:   initializing argument 1 of 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

                 ~~~~~~~~~^~~

sketch_jul21d:58:21: error: invalid conversion from 'char*' to 'uint8_t*' {aka 'unsigned char*'} [-fpermissive]

   boundaryfile.read(Buf1,12);

                     ^~~~

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21d\sketch_jul21d.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:26: note:   initializing argument 1 of 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

                 ~~~~~~~~~^~~

sketch_jul21d:60:21: error: invalid conversion from 'char*' to 'uint8_t*' {aka 'unsigned char*'} [-fpermissive]

   boundaryfile.read(Dummy,1);//                         Comma separator

                     ^~~~~

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21d\sketch_jul21d.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:26: note:   initializing argument 1 of 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

                 ~~~~~~~~~^~~

sketch_jul21d:61:21: error: invalid conversion from 'char*' to 'uint8_t*' {aka 'unsigned char*'} [-fpermissive]

   boundaryfile.read(Buf1,12);

                     ^~~~

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21d\sketch_jul21d.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:26: note:   initializing argument 1 of 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

                 ~~~~~~~~~^~~

sketch_jul21d:63:21: error: invalid conversion from 'char*' to 'uint8_t*' {aka 'unsigned char*'} [-fpermissive]

   boundaryfile.read(Dummy,1);//                         Comma separator

                     ^~~~~

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21d\sketch_jul21d.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:26: note:   initializing argument 1 of 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

                 ~~~~~~~~~^~~

sketch_jul21d:64:21: error: invalid conversion from 'char*' to 'uint8_t*' {aka 'unsigned char*'} [-fpermissive]

   boundaryfile.read(Buf1,7);

                     ^~~~

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21d\sketch_jul21d.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:26: note:   initializing argument 1 of 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

                 ~~~~~~~~~^~~

sketch_jul21d:68:21: error: invalid conversion from 'char*' to 'uint8_t*' {aka 'unsigned char*'} [-fpermissive]

   boundaryfile.read(Dummy,1);

                     ^~~~~

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21d\sketch_jul21d.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:26: note:   initializing argument 1 of 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

                 ~~~~~~~~~^~~

sketch_jul21d:69:21: error: invalid conversion from 'char*' to 'uint8_t*' {aka 'unsigned char*'} [-fpermissive]

   boundaryfile.read(Dummy,1);

                     ^~~~~

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21d\sketch_jul21d.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:26: note:   initializing argument 1 of 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

                 ~~~~~~~~~^~~

Multiple libraries were found for "SD.h"

 Used: C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD

 Not used: C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\SD

exit status 1

invalid conversion from 'char*' to 'uint8_t*' {aka 'unsigned char*'} [-fpermissive]



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

I think you need to cast your char * Buf1 to an uint8_t* as a parameter calling read()

1 Like

Thanks.
I did it and got: no matching function for call to 'fs::File::read(uint8_t* [12], int)'

Arduino: 1.8.19 (Windows 7), Board: "ESP32S2 Dev Module, FTDI Adapter, Disabled, Disabled, Disabled, UART0, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi), QIO, 80MHz, 4MB (32Mb), 921600, None, Disabled"





















E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino: In function 'void Readline()':

GPSNavigator_M:79:29: error: no matching function for call to 'fs::File::read(uint8_t* [12], int)'

   boundaryfile.read(Buf1, 12);

                             ^

In file included from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/Processors/TFT_eSPI_ESP32.h:137,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/TFT_eSPI.h:98,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\HCONFIG.h:3,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino:15:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [12]' {aka 'unsigned char* [12]'} to 'uint8_t*' {aka 'unsigned char*'}

GPSNavigator_M:80:24: error: cannot convert 'uint8_t**' {aka 'unsigned char**'} to 'char*'

   Lat1 = arraytofloat1(Buf1); //                           Top latitude

                        ^~~~

E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino:60:26: note:   initializing argument 1 of 'float arraytofloat1(char*)'

 float arraytofloat1(char input[]) {

                     ~~~~~^~~~~~~

GPSNavigator_M:81:29: error: no matching function for call to 'fs::File::read(uint8_t* [1], int)'

   boundaryfile.read(Dummy, 1); //                         Comma separator

                             ^

In file included from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/Processors/TFT_eSPI_ESP32.h:137,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/TFT_eSPI.h:98,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\HCONFIG.h:3,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino:15:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [1]' {aka 'unsigned char* [1]'} to 'uint8_t*' {aka 'unsigned char*'}

GPSNavigator_M:82:29: error: no matching function for call to 'fs::File::read(uint8_t* [12], int)'

   boundaryfile.read(Buf1, 12);

                             ^

In file included from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/Processors/TFT_eSPI_ESP32.h:137,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/TFT_eSPI.h:98,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\HCONFIG.h:3,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino:15:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [12]' {aka 'unsigned char* [12]'} to 'uint8_t*' {aka 'unsigned char*'}

GPSNavigator_M:83:24: error: cannot convert 'uint8_t**' {aka 'unsigned char**'} to 'char*'

   Lat2 = arraytofloat1(Buf1); //                           Bottom latitude

                        ^~~~

E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino:60:26: note:   initializing argument 1 of 'float arraytofloat1(char*)'

 float arraytofloat1(char input[]) {

                     ~~~~~^~~~~~~

GPSNavigator_M:84:29: error: no matching function for call to 'fs::File::read(uint8_t* [1], int)'

   boundaryfile.read(Dummy, 1); //                         Comma separator

                             ^

In file included from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/Processors/TFT_eSPI_ESP32.h:137,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/TFT_eSPI.h:98,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\HCONFIG.h:3,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino:15:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [1]' {aka 'unsigned char* [1]'} to 'uint8_t*' {aka 'unsigned char*'}

GPSNavigator_M:85:29: error: no matching function for call to 'fs::File::read(uint8_t* [12], int)'

   boundaryfile.read(Buf1, 12);

                             ^

In file included from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/Processors/TFT_eSPI_ESP32.h:137,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/TFT_eSPI.h:98,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\HCONFIG.h:3,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino:15:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [12]' {aka 'unsigned char* [12]'} to 'uint8_t*' {aka 'unsigned char*'}

GPSNavigator_M:86:24: error: cannot convert 'uint8_t**' {aka 'unsigned char**'} to 'char*'

   Lon1 = arraytofloat1(Buf1); //                           Left longitude

                        ^~~~

E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino:60:26: note:   initializing argument 1 of 'float arraytofloat1(char*)'

 float arraytofloat1(char input[]) {

                     ~~~~~^~~~~~~

GPSNavigator_M:87:29: error: no matching function for call to 'fs::File::read(uint8_t* [1], int)'

   boundaryfile.read(Dummy, 1); //                         Comma separator

                             ^

In file included from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/Processors/TFT_eSPI_ESP32.h:137,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/TFT_eSPI.h:98,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\HCONFIG.h:3,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino:15:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [1]' {aka 'unsigned char* [1]'} to 'uint8_t*' {aka 'unsigned char*'}

GPSNavigator_M:88:29: error: no matching function for call to 'fs::File::read(uint8_t* [12], int)'

   boundaryfile.read(Buf1, 12);

                             ^

In file included from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/Processors/TFT_eSPI_ESP32.h:137,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/TFT_eSPI.h:98,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\HCONFIG.h:3,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino:15:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [12]' {aka 'unsigned char* [12]'} to 'uint8_t*' {aka 'unsigned char*'}

GPSNavigator_M:89:24: error: cannot convert 'uint8_t**' {aka 'unsigned char**'} to 'char*'

   Lon2 = arraytofloat1(Buf1); //                           Right longitude

                        ^~~~

E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino:60:26: note:   initializing argument 1 of 'float arraytofloat1(char*)'

 float arraytofloat1(char input[]) {

                     ~~~~~^~~~~~~

GPSNavigator_M:90:29: error: no matching function for call to 'fs::File::read(uint8_t* [1], int)'

   boundaryfile.read(Dummy, 1); //                         Comma separator

                             ^

In file included from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/Processors/TFT_eSPI_ESP32.h:137,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/TFT_eSPI.h:98,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\HCONFIG.h:3,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino:15:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [1]' {aka 'unsigned char* [1]'} to 'uint8_t*' {aka 'unsigned char*'}

GPSNavigator_M:93:17: error: ambiguous overload for 'operator+=' (operand types are 'String' and 'uint8_t*' {aka 'unsigned char*'})

     FileNameMap += Buf1[teller];

     ~~~~~~~~~~~~^~~~~~~~~~~~~~~

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\GPSNavigator_M.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:133:18: note: candidate: 'String& String::operator+=(const String&)' <near match>

         String & operator +=(const String &rhs) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:133:18: note:   conversion of argument 1 would be ill-formed:

GPSNavigator_M:93:31: error: invalid user-defined conversion from 'uint8_t*' {aka 'unsigned char*'} to 'const String&' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\GPSNavigator_M.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:57:9: note: candidate is: 'String::String(const char*)' <near match>

         String(const char *cstr = "");

         ^~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:57:9: note:   conversion of argument 1 would be ill-formed:

GPSNavigator_M:93:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'const char*' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

GPSNavigator_M:93:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'const char*' [-fpermissive]

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\GPSNavigator_M.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:57:28: note:   initializing argument 1 of 'String::String(const char*)'

         String(const char *cstr = "");

                ~~~~~~~~~~~~^~~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:137:18: note: candidate: 'String& String::operator+=(const char*)' <near match>

         String & operator +=(const char *cstr) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:137:18: note:   conversion of argument 1 would be ill-formed:

GPSNavigator_M:93:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'const char*' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\GPSNavigator_M.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:141:18: note: candidate: 'String& String::operator+=(char)' <near match>

         String & operator +=(char c) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:141:18: note:   conversion of argument 1 would be ill-formed:

GPSNavigator_M:93:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'char' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\GPSNavigator_M.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:145:18: note: candidate: 'String& String::operator+=(unsigned char)' <near match>

         String & operator +=(unsigned char num) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:145:18: note:   conversion of argument 1 would be ill-formed:

GPSNavigator_M:93:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'unsigned char' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\GPSNavigator_M.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:149:18: note: candidate: 'String& String::operator+=(int)' <near match>

         String & operator +=(int num) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:149:18: note:   conversion of argument 1 would be ill-formed:

GPSNavigator_M:93:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'int' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\GPSNavigator_M.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:153:18: note: candidate: 'String& String::operator+=(unsigned int)' <near match>

         String & operator +=(unsigned int num) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:153:18: note:   conversion of argument 1 would be ill-formed:

GPSNavigator_M:93:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'unsigned int' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\GPSNavigator_M.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:157:18: note: candidate: 'String& String::operator+=(long int)' <near match>

         String & operator +=(long num) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:157:18: note:   conversion of argument 1 would be ill-formed:

GPSNavigator_M:93:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'long int' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\GPSNavigator_M.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:161:18: note: candidate: 'String& String::operator+=(long unsigned int)' <near match>

         String & operator +=(unsigned long num) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:161:18: note:   conversion of argument 1 would be ill-formed:

GPSNavigator_M:93:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'long unsigned int' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\GPSNavigator_M.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:173:18: note: candidate: 'String& String::operator+=(long long int)' <near match>

         String & operator +=(long long num) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:173:18: note:   conversion of argument 1 would be ill-formed:

GPSNavigator_M:93:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'long long int' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\GPSNavigator_M.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:177:18: note: candidate: 'String& String::operator+=(long long unsigned int)' <near match>

         String & operator +=(unsigned long long num) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:177:18: note:   conversion of argument 1 would be ill-formed:

GPSNavigator_M:93:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'long long unsigned int' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

GPSNavigator_M:95:29: error: no matching function for call to 'fs::File::read(uint8_t* [1], int)'

   boundaryfile.read(Dummy, 1);

                             ^

In file included from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/Processors/TFT_eSPI_ESP32.h:137,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/TFT_eSPI.h:98,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\HCONFIG.h:3,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino:15:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [1]' {aka 'unsigned char* [1]'} to 'uint8_t*' {aka 'unsigned char*'}

GPSNavigator_M:96:29: error: no matching function for call to 'fs::File::read(uint8_t* [1], int)'

   boundaryfile.read(Dummy, 1);

                             ^

In file included from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/Processors/TFT_eSPI_ESP32.h:137,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\TFT_eSPI_ILI9341/TFT_eSPI.h:98,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\HCONFIG.h:3,

                 from E:\ENGINEERING\DIY\Electronic\ESP32\good\3 EYE_clock_game_Stream_health_GPS_sth\00_map\middelbh_GPSnavigator\GPSnavigator-master\GPSNavigator_M\GPSNavigator_M.ino:15:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [1]' {aka 'unsigned char* [1]'} to 'uint8_t*' {aka 'unsigned char*'}

Multiple libraries were found for "SD.h"

 Used: C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD

 Not used: C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\SD

exit status 1

no matching function for call to 'fs::File::read(uint8_t* [12], int)'



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

like this ?
boundaryfile.read((uint8_t*)Buf1,12);

1 Like

Thanks.
modified these lines: boundaryfile.read((uint8_t*)Buf1,12); and got ERROR:

Arduino: 1.8.19 (Windows 7), Board: "ESP32S2 Dev Module, FTDI Adapter, Disabled, Disabled, Disabled, UART0, Disabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi), QIO, 80MHz, 4MB (32Mb), 921600, None, Disabled"


C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21e\sketch_jul21e.ino: In function 'void Readline()':

sketch_jul21e:63:24: error: cannot convert 'uint8_t**' {aka 'unsigned char**'} to 'char*'

   Lat1 = arraytofloat1(Buf1); //                           Top latitude

                        ^~~~

C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21e\sketch_jul21e.ino:43:26: note:   initializing argument 1 of 'float arraytofloat1(char*)'

 float arraytofloat1(char input[]) {

                     ~~~~~^~~~~~~

sketch_jul21e:64:29: error: no matching function for call to 'fs::File::read(uint8_t* [1], int)'

   boundaryfile.read(Dummy, 1); //                         Comma separator

                             ^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21e\sketch_jul21e.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [1]' {aka 'unsigned char* [1]'} to 'uint8_t*' {aka 'unsigned char*'}

sketch_jul21e:66:24: error: cannot convert 'uint8_t**' {aka 'unsigned char**'} to 'char*'

   Lat2 = arraytofloat1(Buf1); //                           Bottom latitude

                        ^~~~

C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21e\sketch_jul21e.ino:43:26: note:   initializing argument 1 of 'float arraytofloat1(char*)'

 float arraytofloat1(char input[]) {

                     ~~~~~^~~~~~~

sketch_jul21e:67:29: error: no matching function for call to 'fs::File::read(uint8_t* [1], int)'

   boundaryfile.read(Dummy, 1); //                         Comma separator

                             ^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21e\sketch_jul21e.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [1]' {aka 'unsigned char* [1]'} to 'uint8_t*' {aka 'unsigned char*'}

sketch_jul21e:69:24: error: cannot convert 'uint8_t**' {aka 'unsigned char**'} to 'char*'

   Lon1 = arraytofloat1(Buf1); //                           Left longitude

                        ^~~~

C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21e\sketch_jul21e.ino:43:26: note:   initializing argument 1 of 'float arraytofloat1(char*)'

 float arraytofloat1(char input[]) {

                     ~~~~~^~~~~~~

sketch_jul21e:70:29: error: no matching function for call to 'fs::File::read(uint8_t* [1], int)'

   boundaryfile.read(Dummy, 1); //                         Comma separator

                             ^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21e\sketch_jul21e.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [1]' {aka 'unsigned char* [1]'} to 'uint8_t*' {aka 'unsigned char*'}

sketch_jul21e:74:23: error: cannot convert 'uint8_t**' {aka 'unsigned char**'} to 'char*'

  Lon2 = arraytofloat1(Buf1);

                       ^~~~

C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21e\sketch_jul21e.ino:43:26: note:   initializing argument 1 of 'float arraytofloat1(char*)'

 float arraytofloat1(char input[]) {

                     ~~~~~^~~~~~~

sketch_jul21e:76:29: error: no matching function for call to 'fs::File::read(uint8_t* [1], int)'

   boundaryfile.read(Dummy, 1); //                         Comma separator

                             ^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21e\sketch_jul21e.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [1]' {aka 'unsigned char* [1]'} to 'uint8_t*' {aka 'unsigned char*'}

sketch_jul21e:81:17: error: ambiguous overload for 'operator+=' (operand types are 'String' and 'uint8_t*' {aka 'unsigned char*'})

     FileNameMap += Buf1[teller];

     ~~~~~~~~~~~~^~~~~~~~~~~~~~~

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\sketch_jul21e.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:133:18: note: candidate: 'String& String::operator+=(const String&)' <near match>

         String & operator +=(const String &rhs) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:133:18: note:   conversion of argument 1 would be ill-formed:

sketch_jul21e:81:31: error: invalid user-defined conversion from 'uint8_t*' {aka 'unsigned char*'} to 'const String&' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\sketch_jul21e.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:57:9: note: candidate is: 'String::String(const char*)' <near match>

         String(const char *cstr = "");

         ^~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:57:9: note:   conversion of argument 1 would be ill-formed:

sketch_jul21e:81:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'const char*' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

sketch_jul21e:81:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'const char*' [-fpermissive]

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\sketch_jul21e.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:57:28: note:   initializing argument 1 of 'String::String(const char*)'

         String(const char *cstr = "");

                ~~~~~~~~~~~~^~~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:137:18: note: candidate: 'String& String::operator+=(const char*)' <near match>

         String & operator +=(const char *cstr) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:137:18: note:   conversion of argument 1 would be ill-formed:

sketch_jul21e:81:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'const char*' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\sketch_jul21e.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:141:18: note: candidate: 'String& String::operator+=(char)' <near match>

         String & operator +=(char c) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:141:18: note:   conversion of argument 1 would be ill-formed:

sketch_jul21e:81:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'char' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\sketch_jul21e.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:145:18: note: candidate: 'String& String::operator+=(unsigned char)' <near match>

         String & operator +=(unsigned char num) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:145:18: note:   conversion of argument 1 would be ill-formed:

sketch_jul21e:81:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'unsigned char' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\sketch_jul21e.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:149:18: note: candidate: 'String& String::operator+=(int)' <near match>

         String & operator +=(int num) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:149:18: note:   conversion of argument 1 would be ill-formed:

sketch_jul21e:81:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'int' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\sketch_jul21e.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:153:18: note: candidate: 'String& String::operator+=(unsigned int)' <near match>

         String & operator +=(unsigned int num) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:153:18: note:   conversion of argument 1 would be ill-formed:

sketch_jul21e:81:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'unsigned int' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\sketch_jul21e.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:157:18: note: candidate: 'String& String::operator+=(long int)' <near match>

         String & operator +=(long num) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:157:18: note:   conversion of argument 1 would be ill-formed:

sketch_jul21e:81:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'long int' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\sketch_jul21e.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:161:18: note: candidate: 'String& String::operator+=(long unsigned int)' <near match>

         String & operator +=(unsigned long num) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:161:18: note:   conversion of argument 1 would be ill-formed:

sketch_jul21e:81:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'long unsigned int' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\sketch_jul21e.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:173:18: note: candidate: 'String& String::operator+=(long long int)' <near match>

         String & operator +=(long long num) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:173:18: note:   conversion of argument 1 would be ill-formed:

sketch_jul21e:81:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'long long int' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:166,

                 from sketch\sketch_jul21e.ino.cpp:1:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:177:18: note: candidate: 'String& String::operator+=(long long unsigned int)' <near match>

         String & operator +=(unsigned long long num) {

                  ^~~~~~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/WString.h:177:18: note:   conversion of argument 1 would be ill-formed:

sketch_jul21e:81:31: error: invalid conversion from 'uint8_t*' {aka 'unsigned char*'} to 'long long unsigned int' [-fpermissive]

     FileNameMap += Buf1[teller];

                    ~~~~~~~~~~~^

sketch_jul21e:83:29: error: no matching function for call to 'fs::File::read(uint8_t* [1], int)'

   boundaryfile.read(Dummy, 1);

                             ^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21e\sketch_jul21e.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [1]' {aka 'unsigned char* [1]'} to 'uint8_t*' {aka 'unsigned char*'}

sketch_jul21e:84:29: error: no matching function for call to 'fs::File::read(uint8_t* [1], int)'

   boundaryfile.read(Dummy, 1);

                             ^

In file included from C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD\src/SD.h:17,

                 from C:\Users\HUA.DELLV-PC\Documents\Arduino\sketch_jul21e\sketch_jul21e.ino:3:

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note: candidate: 'virtual int fs::File::read()'

     int read() override;

         ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:57:9: note:   candidate expects 0 arguments, 2 provided

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note: candidate: 'size_t fs::File::read(uint8_t*, size_t)'

     size_t read(uint8_t* buf, size_t size);

            ^~~~

C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\FS\src/FS.h:60:12: note:   no known conversion for argument 1 from 'uint8_t* [1]' {aka 'unsigned char* [1]'} to 'uint8_t*' {aka 'unsigned char*'}

Multiple libraries were found for "SD.h"

 Used: C:\Users\HUA.DELLV-PC\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\libraries\SD

 Not used: C:\Users\HUA.DELLV-PC\Documents\Arduino\libraries\SD

exit status 1

cannot convert 'uint8_t**' {aka 'unsigned char**'} to 'char*'



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

Sorry, don't know.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.