Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Unable to compile after all libraries are installed. #15

Closed
Fireflaker opened this issue Apr 16, 2017 · 3 comments
Closed

Unable to compile after all libraries are installed. #15

Fireflaker opened this issue Apr 16, 2017 · 3 comments
Assignees

Comments

@Fireflaker
Copy link

In file included from C:\Users\win7\Desktop\EE\WS2812LED\McLighting-master\Arduino\McLighting\McLighting.ino:97:0:

sketch\request_handlers.h: In function 'char* listStatusJSON()':

sketch\request_handlers.h:84:8: warning: address of local variable 'json' returned [-Wreturn-local-addr]

char json[255];

    ^

C:\Users\win7\Documents\Arduino\libraries\WebSockets\src\WebSocketsClient.cpp: In member function 'void WebSocketsClient::begin(const char*, uint16_t, const char*, const char*)':

C:\Users\win7\Documents\Arduino\libraries\WebSockets\src\WebSocketsClient.cpp:69:16: error: 'RANDOM_REG32' was not declared in this scope

 randomSeed(RANDOM_REG32);

            ^

What does it mean? How can I solve it?
Is "RANDOM" function not available?
Please help. Thank you.

@toblum toblum self-assigned this Apr 16, 2017
@toblum
Copy link
Owner

toblum commented Apr 16, 2017

Hi @Fireflaker,

these error messages seem to be related with older versions of the Arduino core: https://goo.gl/Ktw1QY. What version do you use? Is there a update available in the board manager?

Regards
Tobias

@Fireflaker
Copy link
Author

Thank you so much. Problem solved.

@toblum
Copy link
Owner

toblum commented May 4, 2017

You're welcome

@toblum toblum closed this as completed May 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants