Error with compiling with Arduino IDE and Arduino yun board

I am getting an error compiling a program that I have used successfully in the past. It is suppose to connect an Arduino Yun to the Blynk 2.0 platform, but I get the following error.
Documents/Arduino/libraries/Blynk/src/BlynkSimpleYun.h:77:2: error: #endif without #if
#endif
^~~~~
exit status 1

Compilation error: exit status 1

I have reinstalled the libraries and still get the same error. I have also
downgraded from 1.3.2 to an earlier version but that did not resolve the issue. Any advice would be greatly appreciated.

#define BLYNK_TEMPLATE_ID "xxxx"
#define BLYNK_TEMPLATE_NAME "xxxx"
#define BLYNK_AUTH_TOKEN "xxxxxx";

#define BLYNK_PRINT Serial

#include <Bridge.h>
#include <BlynkSimpleYun.h>

void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(BLYNK_AUTH_TOKEN, "blynk.cloud", 80);
}

void loop()
{
  Blynk.run();
}


@vshymanskyy it looks like line 71 of BlynkSimpleYun.h should be #else rather than #endif

Pete.

3 Likes

It worked! Thanks so much!

1 Like

Thanks. Pushed the fix, and also verified all the other BlynkSimple* headers

2 Likes