HackerShackOfficial / Autonomous-Follow-Me-Cooler

Cooler that follows you by navigating via GPS 🍹🌊⛱
89 stars 61 forks source link

please,i need help for massage error #9

Open bullshit000099 opened 5 years ago

bullshit000099 commented 5 years ago

Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Arduino/Genuino Uno"

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:4:0:

CoolerDefinitions.h:2:11: error: redefinition of 'char auth []'

char auth[] = "blynk-token";

       ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:1:0:

C:\Users\Win10\Documents\Arduino\libraries\Cooler/CoolerDefinitions.h:2:6: note: 'char auth [12]' previously defined here

char auth[] = "blynk-token";

  ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:4:0:

CoolerDefinitions.h:49:8: error: redefinition of 'struct GeoLoc'

struct GeoLoc {

    ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:1:0:

CoolerDefinitions.h:49:8: error: previous definition of 'struct GeoLoc'

struct GeoLoc {

    ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:4:0:

CoolerDefinitions.h:54:6: error: multiple definition of 'enum CoolerLid'

enum CoolerLid {

  ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:1:0:

C:\Users\Win10\Documents\Arduino\libraries\Cooler/CoolerDefinitions.h:54:6: note: previous definition here

enum CoolerLid {

  ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:7:0:

CoolerDefinitions.h:2:11: error: redefinition of 'char auth []'

char auth[] = "blynk-token";

       ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:1:0:

C:\Users\Win10\Documents\Arduino\libraries\Cooler/CoolerDefinitions.h:2:6: note: 'char auth [12]' previously defined here

char auth[] = "blynk-token";

  ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:7:0:

CoolerDefinitions.h:49:8: error: redefinition of 'struct GeoLoc'

struct GeoLoc {

    ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:1:0:

CoolerDefinitions.h:49:8: error: previous definition of 'struct GeoLoc'

struct GeoLoc {

    ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:7:0:

CoolerDefinitions.h:54:6: error: multiple definition of 'enum CoolerLid'

enum CoolerLid {

  ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:1:0:

C:\Users\Win10\Documents\Arduino\libraries\Cooler/CoolerDefinitions.h:54:6: note: previous definition here

enum CoolerLid {

  ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:20:0:

c:\users\win10\appdata\local\temp\arduino_build_440638\sketch\coolerdefinitions.h:2:11: error: redefinition of 'char auth []'

char auth[] = "blynk-token";

       ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:1:0:

C:\Users\Win10\Documents\Arduino\libraries\Cooler/CoolerDefinitions.h:2:6: note: 'char auth [12]' previously defined here

char auth[] = "blynk-token";

  ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:20:0:

c:\users\win10\appdata\local\temp\arduino_build_440638\sketch\coolerdefinitions.h:48:8: error: redefinition of 'struct GeoLoc'

struct GeoLoc {

    ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:1:0:

CoolerDefinitions.h:49:8: error: previous definition of 'struct GeoLoc'

struct GeoLoc {

    ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:20:0:

c:\users\win10\appdata\local\temp\arduino_build_440638\sketch\coolerdefinitions.h:53:6: error: multiple definition of 'enum CoolerLid'

enum CoolerLid {

  ^

In file included from C:\Users\Win10\Desktop\Cooler\Cooler.ino:1:0:

C:\Users\Win10\Documents\Arduino\libraries\Cooler/CoolerDefinitions.h:54:6: note: previous definition here

enum CoolerLid {

  ^

exit status 1 redefinition of 'char auth []'

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

shreySodhi commented 4 years ago

Sorry for answering so late but when you create your app on blynk and are adding your devices you will see a button to send an email. Press on it and it will send a auth token of your app. Copy that auth token and put it in the middle of these brackets [ ] .

bennkeith commented 1 year ago

shreySodhi

Do you have a copy of the entire code for the Follow Me Cooler you could send me?

Thanks, Benn