Vl53l0x and oled

Hi there, I am having trouble getting this sketch to work it has been copied from GitHub

Arduino/OLEDRangeFinder/OLEDRangeFinder.ino

I have played around trying what I thought to be different fixes but to no avail

Could someone please correct the sketch for me as I have been working on this for weeks and becoming

very frustrated. My intended goal is to use switch statements to take different measurements an display

them on OLED.

Your help is much needed

Doug

TTT_SSD1306_Plus_VL53l0x_to__come.ino (2.92 KB)

Why don't you describe the problem you're having in more detail?

At line 15 'VL53L0X' does not name a type I tried what I thought to correct the error but it led to further errors down the sketch

Did you install the VL53L0X library?

e.g. GitHub - pololu/vl53l0x-arduino: Pololu Arduino library for VL53L0X time-of-flight distance sensor

yes

I tried to include another library and I get this
#include <Adafruit_VL53L0X.h>
#include <vl53l0x_api.h>
#include <vl53l0x_api_calibration.h>
#include <vl53l0x_api_core.h>
#include <vl53l0x_api_ranging.h>
#include <vl53l0x_api_strings.h>
#include <vl53l0x_def.h>
#include <vl53l0x_device.h>
#include <vl53l0x_i2c_platform.h>
#include <vl53l0x_interrupt_threshold_settings.h>
#include <vl53l0x_platform.h>
#include <vl53l0x_platform_log.h>
#include <vl53l0x_tuning.h>
#include <vl53l0x_types.h>

then at line 36 VL53L0X sensor I get this error 'VL53L0X' does not name a type