Multiple libraries were found for "HttpClient.h"

Hi, I'm working on the ESP8266 board and I'm testing out the _2000_ESPert_workshop sketch example that was in-built to the arduino app however I'm getting this error message, how do I fix this?

Multiple libraries were found for "HttpClient.h"
Used: C:\Users\yun\Documents\Arduino\libraries\HttpClient
Not used: C:\Program Files (x86)\Arduino\libraries\Bridge

(deleted)

That's the only message in red after compiling the code, but what does it mean? As I only have one httpclient.h installed in my libraries.

yunzer:
what does it mean?

Just what it says. There are two libraries on your computer that contain a file that matches an #include directive in your code. When this happens, the Arduino IDE does its best to pick the correct library. In case it chose a different one from what you intended, it provides this helpful message. If the correct library was chosen, you can ignore the message.

yunzer:
As I only have one httpclient.h installed in my libraries.

Wrong. You have a file named HttpClient.h in two libraries:

  • C:\Users\yun\Documents\Arduino\libraries\HttpClient
  • C:\Program Files (x86)\Arduino\libraries\Bridge

It's quite simple for you to verify this.

yunzer:
That's the only message in red

You must be using an outdated version of the Arduino IDE. That message being printed in red was a bug that was fixed in Arduino IDE 1.8.6 and newer.

pert:
You must be using an outdated version of the Arduino IDE. That message being printed in red was a bug that was fixed in Arduino IDE 1.8.6 and newer.

Weird. I'm using 1.8.7 and get messages in red.