Error in using HttpClient.h [SOLVED]

I’m compiling the code and I’m using the HttpClient but it seems to find an error when compiling, Am I referring to the include file in the wrong directory? Not too sure what’s happening here.

HttpClient.cpp: In member function 'void HttpClient::request(http_request_t&, http_response_t&, http_header_t*, const char*)':
HttpClient.cpp:176:19: warning: unused variable 'firstRead' [-Wunused-variable]
     unsigned long firstRead = millis();
                   ^
messenger.cpp:5:35: fatal error: HttpClient/HttpClient.h: No such file or directory
 void PostFormData();
                                   ^

compilation terminated.
make[1]: *** [../build/target/user/platform-6messenger.o] Error 1
make: *** [user] Error 2

Never mind it was a path error… I set it to local and it compiled fine…

1 Like