Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 10 months ago.
Does this compile?
I have tried to compile this program and it gives me the following errors:
Error: Identifier "LocalFileSystem" is undefined in "main.cpp", Line: 3, Col: 2 Error: Identifier "DIR" is undefined in "main.cpp", Line: 11, Col: 5 Error: Identifier "d" is undefined in "main.cpp", Line: 11, Col: 10 Error: Identifier "opendir" is undefined in "main.cpp", Line: 11, Col: 14 Error: Identifier "readdir" is undefined in "main.cpp", Line: 13, Col: 16 Error: Pointer to incomplete class type is not allowed in "main.cpp", Line: 14, Col: 22 Error: Identifier "closedir" is undefined in "main.cpp", Line: 16, Col: 5
I have even tried the little program in LocalFileSystem and that has errors too.
What am I doing wrong? I am new to this and am totally confused.
Question relating to:
1 Answer
9 years, 10 months ago.
LocalFileSystem is only implemented on the original mbed LPC1768 and LPC11u24. Consider for example using SDFileSystem.