Compiling error for board ESPresso Lite 2.0 "exit status 1"

Hi, I am currently working on a project with arduino IDE and have some problem uploading the standard workshop sketch installed inside the software, does it have something to do with the placement of files that's causing the error? Here's the error message stated after uploading the sketch

Multiple libraries were found for "HttpClient.h"
Used: C:\Users\yun\Documents\Arduino\libraries\HttpClient
Not used: C:\Users\yun\Downloads\arduino 1.8.7\arduino-1.8.7\libraries\Bridge
In file included from C:\Users\yun\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.cpp:22:0:

C:\Users\yun\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory

#include <Adafruit_Sensor.h>

^

compilation terminated.

Multiple libraries were found for "HttpClient.h"
 Used: C:\Users\yun\Documents\Arduino\libraries\HttpClient
 Not used: C:\Users\yun\Downloads\arduino 1.8.7\arduino-1.8.7\libraries\Bridge

Not really a problem but you might want to tidy up your library installations. You should probably only have the library in C:\Users\yun\Documents\Arduino\libraries

C:\Users\yun\Documents\Arduino\libraries\DHT_sensor_library\DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory

This one is a problem. Do you have Adafruit_Sensor.h on your system ? Either install it or move it to the correct location

Hi, yes I have tried searching for the library <Adafruit_Sensor> to install, however there were only similar names and it still results in the same code error message.

You didn't look very hard

I see the link on adafruit_sensor however in the IDE software under the list of we could not find the exact one to install into the programme as attached.

I managed to download the zip folder on the link u shared and added it in, but now the error says

In file included from C:\Users\yun\AppData\Local\Temp\arduino_modified_sketch_476162_0050_OLED.ino:18:0:

C:\Users\yun\Documents\Arduino\libraries\ESPert\src/ESPert.h:232:5: error: 'DynamicJsonBuffer' does not name a type

DynamicJsonBuffer jsonBuffer;

^

That error is caused by using version 6.x.x of the ArduinoJson library with code that was written for the 5.x.x versions of the library, as you would have seen if you read the documentation:
[url=http://https://arduinojson.org/v5/faq/error-jsonbuffer-was-not-declared-in-this-scope/]https://arduinojson.org/v5/faq/error-jsonbuffer-was-not-declared-in-this-scope/[/url]

There are two solutions:

Use the version of the library your code was written for. If you installed ArduinoJson via Library Manager, you can do this easily:

  • Sketch > Include Library > Manage Libraries
  • Wait for download to finish.
  • In the "Filter your search..." box, type "ArduinoJson".
  • Click on "ArduinoJson by Benoit Blanchon".
  • From the dropdown version menu, select "Version 5.13.3.
  • Click "Install".
  • Wait for the installation to finish.
  • Click "Close".

The other option is to update the code to work with the ArduinoJson 6.x.x API. You will find a guide to this in the documentation:

The second option is much more complicated than the first. Since you are a beginner, I recommend the first.