I just checked the problem.
In my case, I used http://mbed.org/users/donatien/programs/EthernetNetIf
LPC1768/lwip/arch/cc.h have defines.
#ifndef TRUE
#define TRUE 1
#endif
#ifndef FALSE
#define FALSE 0
#endif
so I changed including order from
#include "EthernetNetIf.h"
#include "SDFileSystem.h"
to
#include "SDFileSystem.h"
#include "EthernetNetIf.h"
then compile is done.
In your case, Please try to change order to
#include "mbed.h"
#include "SDFileSystem.h"
#include "HTTPServer.h"
#include "HTTPRPC.h"
#include "HTTPFS.h"
#include "HTTPStaticPage.h"
or remove #include "SDFileSystem.h" in line number 11.
I'm currently getting a compiler error.
The error message is "Expected an identifier (E40)" and is pointing to FatFileSystem line 27, col 15. With the resource of Integer.h
I'm trying to incorporate SDCard access into my small web server project. Happy to share code if anyone wants a look.
I also have SDCardTest project, this compiles fine... doesn't run... - maybe my SD card... but it does compile.
I don't know what to do to resolve the error. Can anyone advise?
- David