Arduino Leonardo

I want to control an OLED Display with an Adafruit_SSD1306.h library and an leonardo board.
With arduino it is working perfekt but as soon as I include the library <Adafruit_SSD1306.h> the following error occurs:

Error for compiling board arduino

has anybody an idea?

Is that all it says?

This is the complete error message:

In file included from /home/berni/Arduino/oled_mit_ds18b20/oled_mit_ds18b20.ino:3:0:
/home/berni/Arduino/libraries/Adafruit_SSD1306-master/Adafruit_SSD1306.h:49:26: fatal error: Adafruit_GFX.h: No such file or directory
#include <Adafruit_GFX.h>

I cannot understand the error on #include <Adafruit_GFX.h> because it is after //?
It shoul be a comment. The original code is from an example.

befr:
The original code is

invisible.

I don't know if it is the correct way to post the code

[code]

#include <SPI.h>
#include <Wire.h>
/*#include <Adafruit_GFX.h>*/
#include <Adafruit_SSD1306.h>

#include <OneWire.h>    ****
#include <DallasTemperature.h>   ****

#define OLED_RESET 4 // not used / nicht genutzt bei diesem Display
Adafruit_SSD1306 display(OLED_RESET);

// 1-Wire-Bus an Port 10 ****
#define ONE_WIRE_BUS 10

// 1-Wire-Bus instanziieren ***
OneWire oneWire(ONE_WIRE_BUS);
 
// Instanziieren der Dallas-Sensoren ***
DallasTemperature sensors(&oneWire);


void setup()   {                



	// initialize with the I2C addr 0x3C / mit I2C-Adresse 0x3c initialisieren
	display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
	

  // Serielle Kommunikation
  Serial.begin(9600);


  // Start der Sensorübertragung ***
   sensors.begin();




}

#define DRAW_DELAY 118
#define D_NUM 47

int i;

void loop() {
  
	display.clearDisplay();
	
	// set text color / Textfarbe setzen
	display.setTextColor(WHITE);
	// set text size / Textgroesse setzen
	display.setTextSize(2);  // (2 = besser)
	// set text cursor position / Textstartposition einstellen

 

 

  // Temperaturen abfragen
  sensors.requestTemperatures();

  // Sensor 0
float tempC1 = sensors.getTempCByIndex(0);




  delay(500);                               // display befehle
  display.clearDisplay();                   // display.setCursor(xPos,yPos)     
  display.setCursor(0,10);                  // original (15,15)
  display.println("Temperatur");                 
  display.display();
  delay(500);
  display.clearDisplay();

   delay(500);
  display.clearDisplay();
  display.setCursor(34,10);
  display.println(tempC1);
  display.display();
  delay(500);
  display.clearDisplay();


	

}

[/code]

/home/berni/Arduino/libraries/Adafruit_SSD1306-master/Adafruit_SSD1306.h:49:26: fatal error: Adafruit_GFX.h: No such file or directory
#include <Adafruit_GFX.h>

The error message quite clearly shows that the include is in the file "Adafruit_SSD1306.h", not in the code you posted.

I'm sorry,
i wanted to do the little 'project' with another computer with no libraries.
After importing the libraries the code was compiled without any errors.

Thanks