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

error compilation #1

Open
yo3gts opened this issue May 16, 2024 · 0 comments
Open

error compilation #1

yo3gts opened this issue May 16, 2024 · 0 comments

Comments

@yo3gts
Copy link

yo3gts commented May 16, 2024

Hi, I try to compile with Arduino IDE 2.3.2 and I have some errors:

E:\Diverse\sw\sw.ino:62:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
62 | {SEATALK_APPARENT_WIND_ANGLE, 4, "APPARENT_WIND_ANGLE"},
| ^~~~~~~~~~~~~~~~~~~~~
E:\Diverse\sw\sw.ino:63:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
63 | {SEATALK_APPARENT_WIND_SPEED, 4, "APPARENT_WIND_SPEED"},
| ^~~~~~~~~~~~~~~~~~~~~
E:\Diverse\sw\sw.ino:64:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
64 | {SEATALK_LAMP_INTENSITY, 3, "LAMP_INTENSITY"},
| ^~~~~~~~~~~~~~~~
E:\Diverse\sw\sw.ino:66:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
66 | {SEATALK_UNSUPPORTED, 0, "UNSUPPORTED"},
| ^~~~~~~~~~~~~
E:\Diverse\sw\sw.ino: In function 'void print_framing_error(unsigned int)':
E:\Diverse\sw\sw.ino:432:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
432 | cursor_position = print_error_header("FRAMING ERROR");
| ^~~~~~~~~~~~~~~
E:\Diverse\sw\sw.ino: In function 'void print_parity_error()':
E:\Diverse\sw\sw.ino:441:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
441 | print_error_header("PARITY ERROR");
| ^~~~~~~~~~~~~~
E:\Diverse\sw\sw.ino: In function 'void setup()':
E:\Diverse\sw\sw.ino:523:16: error: 'WIFI_SSID' was not declared in this scope; did you mean 'WIFI_STA'?
523 | WiFi.begin(WIFI_SSID, WIFI_PASS);
| ^~~~~~~~~
| WIFI_STA
E:\Diverse\sw\sw.ino:523:27: error: 'WIFI_PASS' was not declared in this scope; did you mean 'WIFI_AP'?
523 | WiFi.begin(WIFI_SSID, WIFI_PASS);
| ^~~~~~~~~
| WIFI_AP

exit status 1

Compilation error: 'WIFI_SSID' was not declared in this scope; did you mean 'WIFI_STA'?

I need to install more/other libraries?
Thank you

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

1 participant