Where are the AdafruitGFX Library and include Files?

I'm trying out an OLED 128x64 1.3" Display example using AdafruitGFX, named sh1106_128x64_i2c.ino . What appears to be missing is a file named Adafruit_SH1106.h.

Whe would I have to expect this file being located in the file system, given I can find its contents in the Internet?

Download the file from the Adafruit Github site.

and put where?

There are several places you can put the file. Check the Arduino Reference pages for instructions on how to handle library files.

Have you tried using the Manage Libraries tool in the Arduino IDE?

Yes, I installed AdafruitGFX via that library tool. The more I'm wondering why the file is missing.

There is no reason to assume that the AdafruitGFX library has that file.

Adafruit has very comprehensive tutorials on how to use their displays, including download links. I've never had any trouble following those instructions, and recommend them to you.

Because Adafruit_SH1106 and AdafruitGfx are two different libraries. You have install them both.

OK. I understand. So I also installed Adafruit SH110X using Library Manager. The include file is still not being found. Where are all these files going in the filesystem? I can't find them in ~/Library/Arduino15/libraries

Post the code and the complete error message separately, using code tags.

There are two different #include commands, one looks in the local sketch directory, one in the system.

This worked for me out of the box, simply by following the Adafruit tutorial and starting with the library example.

#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>

#define SCREEN_WIDTH 128 // OLED display width, in pixels
#define SCREEN_HEIGHT 32 // OLED display height, in pixels
/*********************************************************************
This is an example for our Monochrome OLEDs based on SSD1306 drivers

  Pick one up today in the adafruit shop!
  ------> http://www.adafruit.com/category/63_98

This example is for a 128x64 size display using I2C to communicate
3 pins are required to interface (2 I2C and one reset)

Adafruit invests time and resources providing this open source code, 
please support Adafruit and open-source hardware by purchasing 
products from Adafruit!

Written by Limor Fried/Ladyada  for Adafruit Industries.  
BSD license, check license.txt for more information
All text above, and the splash screen must be included in any redistribution
*********************************************************************/

/*********************************************************************
I change the adafruit SSD1306 to SH1106

SH1106 driver don't provide several functions such as scroll commands.

*********************************************************************/

#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SH1106.h>

Error message:

Alternatives for Adafruit_SH1106.h: []
sh1106_128x64_i2c:29:10: fatal error: Adafruit_SH1106.h: No such file or directory
ResolveLibrary(Adafruit_SH1106.h)
 #include <Adafruit_SH1106.h>  -> candidates: []

Reinstall the SH1106X library, and start with one of the examples in that library.

@krischu
In the code:

but you installed

Are you think that Adafruit_SH1106 and Adafruit SH110X are the same?

OK, First thing I find is that the include file is named Adafruit_SH110X.h.
And the example SSH1106_128x64_i2c_QTPY.ino works out of the box. No more display glitches.

Now I will have to transform the library to STM32CubeIDE and STM32F103C8T6.