Hi,
I am trying to use the httpclient library from here:
https://github.com/amcewen/HttpClient.git I am using Arduino1.5.4 and Visual Micro and a Mega 2560.
When I try to compile the SimpleHttpExample sketch that comes with the library in Visual Micro, I get a big list of compile errors - paste below.
When I compile in Arduino IDE, it works fine.
Having done some googling, i found that the structure of Arduino libraries is changing around v1.5 onwards. Could this be the cause of my problems?
Any other suggestions on how to get round it would be gratefully received.
If there is anything else in my setup that I should check, please just let me know.
Compiling 'SimpleHttpExample' for 'Arduino Mega 2560 or Mega ADK'
SimpleHttpExample.ino : : In function 'void loop()':
SimpleHttpExample.ino : HttpClient(EthernetClient&)'
HttpClient.h : HttpClient()
HttpClient.h : HttpClient(const HttpClient&)
SimpleHttpExample.ino : get(const char [11], const char [2])'
HttpClient.h : get(String&)
HttpClient.h : get(const char*)
SimpleHttpExample.ino : 'class HttpClient' has no member named 'responseStatusCode'
SimpleHttpExample.ino : 'class HttpClient' has no member named 'skipResponseHeaders'
SimpleHttpExample.ino : 'class HttpClient' has no member named 'contentLength'
SimpleHttpExample.ino : 'class HttpClient' has no member named 'connected'
SimpleHttpExample.ino : 'class HttpClient' has no member named 'stop'
Error compiling