Go Down

Topic: Why does the exsamples show'd here on this media NOT work??? (Read 584 times) previous topic - next topic


Running and compiling exeampelfiles showed here very often NOT WORKS.

SdFat.h comes with examples that ends up with this error:

In file included from N:\arduino\libraries\SdFat-master\src/FatLib/ArduinoFiles.h:33:0,

                 from N:\arduino\libraries\SdFat-master\src/FatLib/FatLib.h:27,

                 from N:\arduino\libraries\SdFat-master\src/SdFat.h:33,

                 from E:\OZ6YM\Dokumenter\Arduino\TESTfile\TESTfile.ino:2:

N:\arduino\libraries\SdFat-master\src/FatLib/FatFile.h:312:18: note: candidate:

static uint8_t FatFile::dirName(const dir_t*, char*)


   static uint8_t dirName(const dir_t* dir, char* name);

Probably something I'm doing is wrong, but WHAT ???

Can anyone explain??


You cropped off some of the useful information from the error message.

Please do this:
  • When you encounter an error, you'll see a button on the right side of the orange bar "Copy error messages" in the Arduino IDE (or the icon that looks like two pieces of paper at the top right corner of the black console window in the Arduino Web Editor). Click that button..
  • In a forum reply here, click on the reply field.
  • Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
  • Press "Ctrl + V". This will paste the error between the code tags.
  • Move the cursor outside of the code tags before you add any additional text to your reply.

If the text exceeds the forum's 9000 character limit, save it to a .txt file and post it as an attachment. If you click the "Reply" button here, you will see an "Attachments and other settings" link.


I've deleted your other cross-post @oz6ym.

Cross-posting is against the rules of the forum. The reason is that duplicate posts can waste the time of the people trying to help. Someone might spend 15 minutes (or more) writing a detailed answer on this topic, without knowing that someone else already did the same in the other topic.

Repeated cross-posting will result in a suspension from the forum.

In the future, please take some time to pick the forum board that best suits the topic of your question and then only post once to that forum board. This is basic forum etiquette, as explained in the sticky "How to use this forum - please read." post you will find at the top of every forum board. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

Go Up