Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

please,i need help for massage error #9

Open
bullshit000099 opened this issue Mar 26, 2019 · 2 comments
Open

please,i need help for massage error #9

bullshit000099 opened this issue Mar 26, 2019 · 2 comments

Comments

@bullshit000099
Copy link

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
Copy link

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
Copy link

shreySodhi

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

Thanks,
Benn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants