Error Compiling for Generic ESP8266 Module

I get this "exit status 1
Error compiling for board Generic ESP8266 Module." error no matter what youtube video i follow.

#include <ESP8266WiFi.h>
#include <ESP8266WiFiAP.h>
#include <ESP8266WiFiGeneric.h>
#include <ESP8266WiFiGratuitous.h>
#include <ESP8266WiFiMulti.h>
#include <ESP8266WiFiScan.h>
#include <ESP8266WiFiSTA.h>
#include <ESP8266WiFiType.h>
#include <WiFiClient.h>
#include <WiFiClientSecure.h>
#include <WiFiClientSecureBearSSL.h>
#include <WiFiServer.h>
#include <WiFiServerSecure.h>
#include <WiFiServerSecureBearSSL.h>
#include <WiFiUdp.h>

#include <Firebase.h>
#include <FirebaseArduino.h>
#include <FirebaseCloudMessaging.h>
#include <FirebaseError.h>
#include <FirebaseHttpClient.h>
#include <FirebaseObject.h>

#include <LiquidCrystal_I2C.h>
#include<UltraDistSensor.h>
LiquidCrystal_I2C lcd(0x27, 16, 2);

//Ultrasonic Pins
int trigPin = 13; // TRIG pin
int echoPin = 12; // ECHO pin

float duration_us, distance_cm;

//Earthquake perimeters
const int x = A0;
const int y = A1;
const int z = A2;

int xsample=0;
int ysample=0;
int zsample=0;

#define samples 50
int maxVal = 20;
int minVal = -20;

String H = "HIGH";
String M = "MOD ";
String L = "LOW ";

//Firebase
#define FIREBASE_HOST "cloud-based-multialarm-default-rtdb.firebaseio.com"
#define FIREBASE_AUTH "sqJSyzl1QWPGTt3ujv0mE3gdGrZS6bnt6sPiy7ft"

//ESP8266
#define WIFI_SSID ""
#define WIFI_PASSWORD "
*"

void setup() {

Serial.begin(9600);

WiFi.begin(WIFI_SSID, WIFI_PASSWORD);
Serial.print("Attempting Connection");
while(WiFi.status() !=WL_CONNECTED)
{Serial.print("...");
delay(500);}

Serial.println();
Serial.print("Connected Successfully");
Serial.print(WiFi.localIP());

Code is incomplete. Post the whole code.

Code is improperly posted. Read the forum guidelines to see how to properly post code and some hints on how to get the most from this forum.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.

Please include the entire error message. It is easy to do. There is a button (lower right of the IDE window) called "copy error message". Copy the error and paste into a post in code tags. Paraphrasing the error message leaves out important information.

so long , sorry

Seems that you ignored the part about code tags and autoformat. If you are in a hurry, ignoring the rules will not speed things up.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.