getting eror while compiling

Arduino: 1.6.10 Hourly Build 2016/07/14 06:33 (Windows 7), Board: "Arduino/Genuino Uno"

C:\Users\entclab238\Documents\Arduino\sketch_jul17a\sketch_jul17a.ino:2:29: fatal error: ESP8266_SoftSer.h: No such file or directory

#include <ESP8266_SoftSer.h>

^

compilation terminated.

exit status 1
Error compiling for board Arduino/Genuino Uno.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

this error is continuously showing while compiling... :frowning: :frowning:

following is my program, i want to connect blynk using ESP8266-01

#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <ESP8266_SoftSer.h>
#include <BlynkSimpleShieldEsp8266_SoftSer.h>
// Set ESP8266 Serial object
#include <SoftwareSerial.h>
SoftwareSerial EspSerial(2, 3); // RX, TX
ESP8266 wifi(EspSerial);
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "caa17a11c0124d4083d0eaa995f45917";
#define m11 8
#define m12 9
#define m21 10
#define m22 11
void forward()
{
digitalWrite(m11, HIGH);
digitalWrite(m12,LOW);
digitalWrite(m21,HIGH);
digitalWrite(m22,LOW);
}
void backward()
{
digitalWrite(m11, LOW);
digitalWrite(m12,HIGH);
digitalWrite(m21,LOW);
digitalWrite(m22,HIGH);
}
void right()
{
digitalWrite(m11, HIGH);
digitalWrite(m12,LOW);
digitalWrite(m21,LOW);
digitalWrite(m22,LOW);
}
void left()
{
digitalWrite(m11, LOW);
digitalWrite(m12,LOW);
digitalWrite(m21,HIGH);
digitalWrite(m22,LOW);
}
void Stop()
{
digitalWrite(m11, LOW);
digitalWrite(m12,LOW);
digitalWrite(m21,LOW);
digitalWrite(m22,LOW);
}
void setup()
{
// Set console baud rate
Serial.begin(9600);
delay(10);
// Set ESP8266 baud rate
// 9600 is recommended for Software Serial
EspSerial.begin(9600);
delay(10);
Blynk.begin(auth, wifi, "username", "password"); // wifi username and password
pinMode(m11, OUTPUT);
pinMode(m12, OUTPUT);
pinMode(m21, OUTPUT);
pinMode(m22, OUTPUT);
}
BLYNK_WRITE(V1)
{
int x = param[0].asInt();
int y = param[1].asInt();
// Do something with x and y
/* Serial.print("X = ");
Serial.print(x);
Serial.print("; Y = ");
Serial.println(y);*/
if(y>220)
forward();
else if(y<35)
backward();
else if(x>220)
right();
else if(x<35)
left();
else
Stop();
}
void loop()
{
Blynk.run();
}

plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

help :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning: :frowning:

And of course you have checked what the compilers tells you?

fatal error: ESP8266_SoftSer.h: [b][color=red]No such file[/color][/b] or directory
#include <[color=red][b]ESP8266_SoftSer.h[/b][/color]>
              ^
compilation terminated.

yaah... but i want to resolve it...
i pick this program from a site...

plz help me... i want do complete my poject
thank you...

Well import that library... It's missing on your system or not correctly installed...

Sometimes a Google search is a good idea:- [SOLVED] Where I can find ESP8266_SoftSer.h?
It took me about 10 seconds, using "ESP8266_SoftSer.h" as a search term. :wink:

Just one other point. As a beginner, you'd be much better off using a tried and tested version of the IDE like V1.6.9, rather than a (possibly flawed) hourly build.

Edit: The thread above is fairly ambiguous, despite being marked [SOLVED].
There's a copy of that library here:-
https://github.com/wasdpkj/Microduino-IDE-Support/blob/master/arduino-ide-Support/[1.6.x]-hardware(library)/hardware/Microduino/avr/libraries/_09_DATA_Blynk_ESP8266_SoftSer/ESP8266_SoftSer.h
(You'll probably need to go up a few levels to find the download link.)

And in the future please use [code]code tags[/code] when posting code. Don't just paste it inline.
(It's not too late to edit your post and fix this. :wink: )

OldSteve,
when i put this library i got,
the folder/zip not contain a valid liabrary

PRANJAL123:
OldSteve,
when i put this library i got,
the folder/zip not contain a valid liabrary

Yeah right. I just downloaded the library I linked, and got a few errors, including "filename too long".
It's quite a mess.

This won't be as easy as it originally looked. One possibility is to create your own files and copy paste the text from the GitHub library files, the *.h and *.cpp files.

If you'd made the title of the thread more apt, like "ESP8266_SoftSer.h not found", you might have got replies more suited to your query. "getting error while compiling" doesn't describe the situation at all.

Do you have a link to the library that you originally tried?

This Google search shows that many people have had this problem in the past:-
"ESP8266_SoftSer.h"

Edit: After some further searching, I've come to the conclusion that this is an old, superceded library.

Where did the example that you based your code on come from? Do you have a link?
Ususally, it pays to get the library, then start on the code based on it's examples, rather than starting with the code then trying to find a suitable library.

The latest BLYNK library can be found here:- Releases · blynkkk/blynk-library · GitHub

If you search through the early releases of the library, on the same page, you might be lucky enough to find one compatible with your current code, but you might be better off starting with a later version and rewriting to suit.

After looking through the versions, versions V0.3.1 to V0.3.4 have the files you need.

Try the latest first, V0.3.4.

Once you download and unzip the compressed folder, set up the directory structure like this:-
\libraries\Blynk
\libraries\BlynkESP8266_HardSer
\libraries\BlynkESP8266_SoftSer
\libraries\SimpleTimer
\libraries\Time

Note that if you already have the "Time" library installed, you don't need to install that one.

Good luck.

Edit: I just set up those libraries as above, then included the following and a blank sketch compiled without errors:-

#include <SoftwareSerial.h>
#include <ESP8266_SoftSer.h>

I don't plan to install the ESP8266 core to test further.

thank you so much oldsteve i cnat tell you how much i am happy....

finally i compiled that code,and its successfull...

thank you thank you thank you thank you thank you soooooooooooo muchhhhhhhhhhhh

all readers and helpers thanks alot

PRANJAL123:
thank you so much oldsteve i cnat tell you how much i am happy....
finally i compiled that code,and its successfull...
thank you thank you thank you thank you thank you soooooooooooo muchhhhhhhhhhhh
all readers and helpers thanks alot

No problem. Glad to help. :slight_smile:

[19] Blynk v0.3.4
[520] Connecting to D-Link_DIR-600M
[1537] Failed to disable Echo

I GOT THIS NOW...

[19] Blynk v0.3.4
[520] Connecting to D-Link_DIR-600M
[1537] Failed to disable Echo

HOW TO SOLVE THIS/?
I AM USING ARDUINO UNO R3 AND ESP8266-01

I'd like to help you but I don't have an ESP8266.

For others to help you, you need to include a bit more information:

  1. What are you trying to do?
  2. What did you expect to happen?
  3. What actually happened?
  4. ALL your code.
  5. A schematic.
  6. STOP SHOUTING.
  7. Don't cross-post. Your other thread already has some good responses. Keep that thread going. I've asked a moderator to merge the threads.

following is my program, i want to connect blynk using ESP8266-01

#define BLYNK_PRINT Serial    // Comment this out to disable prints and save space
#include <ESP8266_SoftSer.h>
#include <BlynkSimpleShieldEsp8266_SoftSer.h>
// Set ESP8266 Serial object
#include <SoftwareSerial.h>
SoftwareSerial EspSerial(2, 3); // RX, TX
ESP8266 wifi(EspSerial);
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "caa17a11c0124d4083d0eaa995f45917";
#define m11 8
#define m12 9
#define m21 10
#define m22 11
void forward()
{
  digitalWrite(m11, HIGH);
  digitalWrite(m12,LOW);
  digitalWrite(m21,HIGH);
  digitalWrite(m22,LOW);
}
void backward()
{
  digitalWrite(m11, LOW);
  digitalWrite(m12,HIGH);
  digitalWrite(m21,LOW);
  digitalWrite(m22,HIGH);
}
void right()
{
  digitalWrite(m11, HIGH);
  digitalWrite(m12,LOW);
  digitalWrite(m21,LOW);
  digitalWrite(m22,LOW);
}
void left()
{
  digitalWrite(m11, LOW);
  digitalWrite(m12,LOW);
  digitalWrite(m21,HIGH);
  digitalWrite(m22,LOW);
}
void Stop()
{
  digitalWrite(m11, LOW);
  digitalWrite(m12,LOW);
  digitalWrite(m21,LOW);
  digitalWrite(m22,LOW);
}
void setup()
{
  // Set console baud rate
  Serial.begin(9600);
  delay(10);
  // Set ESP8266 baud rate
  // 9600 is recommended for Software Serial
  EspSerial.begin(9600);
  delay(10);
  Blynk.begin(auth, wifi, "username", "password");  // wifi username and password
  pinMode(m11, OUTPUT);
  pinMode(m12, OUTPUT);
  pinMode(m21, OUTPUT);
  pinMode(m22, OUTPUT);
}
BLYNK_WRITE(V1) 
{
  int x = param[0].asInt();
  int y = param[1].asInt();
  // Do something with x and y
/*  Serial.print("X = ");
  Serial.print(x);
  Serial.print("; Y = ");
  Serial.println(y);*/
  if(y>220)
  forward();
  else if(y<35)
  backward();
  else if(x>220)
  right();
  else if(x<35)
  left();
  else
  Stop();
}
void loop()
{
  Blynk.run();
}

And above is my prblm at serial monitor....

@PRANJAL123, do not cross-post. Other thread removed.

@PRANJAL123, do not cross-post. Threads merged.

NO ONE WANT TO HELP ME OUT

@PRANJAL123, do not lie. There are three people trying to help you.

hey you...
i am talking about my another post ok...

PRANJAL123:
following is my program, i want to connect blynk using ESP8266-01

Please use code tags.

Read this before posting a programming question

How to use this forum

Please edit your post, select the code, and put it between [code] ... [/code] tags.

You can do that by hitting the "Code" icon above the posting area. It is the first icon, with the symbol: </>

see now?

#define BLYNK_PRINT Serial    // Comment this out to disable prints and save space
#include <ESP8266_SoftSer.h>
#include <BlynkSimpleShieldEsp8266_SoftSer.h>
// Set ESP8266 Serial object
#include <SoftwareSerial.h>
SoftwareSerial EspSerial(2, 3); // RX, TX
ESP8266 wifi(EspSerial);
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "9c5dcb7127e64b93b7b0db4f2674c5b1";
#define m11 8
#define m12 9
#define m21 10
#define m22 11
void forward()
{
  digitalWrite(m11, HIGH);
  digitalWrite(m12,LOW);
  digitalWrite(m21,HIGH);
  digitalWrite(m22,LOW);
}
void backward()
{
  digitalWrite(m11, LOW);
  digitalWrite(m12,HIGH);
  digitalWrite(m21,LOW);
  digitalWrite(m22,HIGH);
}
void right()
{
  digitalWrite(m11, HIGH);
  digitalWrite(m12,LOW);
  digitalWrite(m21,LOW);
  digitalWrite(m22,LOW);
}
void left()
{
  digitalWrite(m11, LOW);
  digitalWrite(m12,LOW);
  digitalWrite(m21,HIGH);
  digitalWrite(m22,LOW);
}
void Stop()
{
  digitalWrite(m11, LOW);
  digitalWrite(m12,LOW);
  digitalWrite(m21,LOW);
  digitalWrite(m22,LOW);
}
void setup()
{
  // Set console baud rate
  Serial.begin(9600);
  delay(10);
  // Set ESP8266 baud rate
  // 9600 is recommended for Software Serial
  EspSerial.begin(9600);
  delay(10);
  Blynk.begin(auth, wifi, "D-Link_DIR-600M", "yarokiyari");  // wifi username and password
  pinMode(m11, OUTPUT);
  pinMode(m12, OUTPUT);
  pinMode(m21, OUTPUT);
  pinMode(m22, OUTPUT);
}
BLYNK_WRITE(V1) 
{
  int x = param[0].asInt();
  int y = param[1].asInt();
  // Do something with x and y
/*  Serial.print("X = ");
  Serial.print(x);
  Serial.print("; Y = ");
  Serial.println(y);*/
  if(y>220)
  forward();
  else if(y<35)
  backward();
  else if(x>220)
  right();
  else if(x<35)
  left();
  else
  Stop();
}
void loop()
{
  Blynk.run();
}\

this following is my problem at serial monitor

[19] Blynk v0.3.4
[520] Connecting to D-Link_DIR-600M
[1537] Failed to disable Echo

Your errors indicate a problem specific to "Blynk", not directly to Arduino.

Perhaps you should search and/or post in the "Blynk" forums:-
Blynk Community