• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

BLE Client compilation error

Q&A Forum › Category: ESP32 › BLE Client compilation error
0 Vote Up Vote Down
David Hughes asked 5 years ago

I am getting the following error on compilation for the BLE Client

Something is missing, but cant work out what. I have installed the SSD1306 library

Arduino: 1.8.5 (Mac OS X), Board: “Node32s, 80MHz, 921600”
In file included from /Users/davidh/Documents/Arduino/BLE_Client_DHT11/BLE_Client_DHT11.ino:8:0:
/Users/davidh/Documents/Arduino/libraries/Adafruit_SSD1306-master/Adafruit_SSD1306.h:49:26: fatal error: Adafruit_GFX.h: No such file or directory
compilation terminated.
Multiple libraries were found for “BLEDevice.h”
Used: /Users/davidh/Documents/Arduino/libraries/ESP32_BLE_Arduino-master
Not used: /Users/davidh/Documents/Arduino/hardware/espressif/esp32/libraries/BLE
Not used: /Users/davidh/Documents/Arduino/hardware/espressif/esp32/libraries/BLE
Not used: /Users/davidh/Documents/Arduino/hardware/espressif/esp32/libraries/BLE
Not used: /Users/davidh/Documents/Arduino/hardware/espressif/esp32/libraries/BLE
exit status 1
Error compiling for board Node32s.
This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences.

Question Tags: compilation
2 Answers
0 Vote Up Vote Down
Rui Santos Staff answered 5 years ago

Hi David,
Can you delete that line from the sketch (it’s right at the top)? 

#include <Adafruit_GFX.h>

Try to upload the code again. Does it work now?

0 Vote Up Vote Down
David Hughes answered 5 years ago

Looks like I was missing the Adafruit_GFX.h library. Have downloaded it and it compiled ok, thanks.
 

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.