Hey! So currently i want to make a websocket client with an Arduino mega 2560. My problem is that every time i download a websocket client package from the GitHub i get errors like these:
*\ArduinoWebsocketClientmaster\WebSocketClient.cpp:30:1: error: 'prog_char' does not name a type; did you mean 'putchar'?
prog_char stringVar[] PROGMEM = "{0}";
^~~~~~~~~
In file included from*\Documents\Arduino\libraries\WebSockets2_Generic-master\src/Tiny_Websockets_Generic/client.hpp:33:0,
from *\Documents\Arduino\libraries\WebSockets2_Generic-master\src/WebSockets2_Generic.h:42,
from *\Let├Âlt├ęsek\Timer\Jó\sketch_aug1a\sketch_aug1a.ino:20:
*\Documents\Arduino\libraries\WebSockets2_Generic-master\src/Tiny_Websockets_Generic/internals/websockets_endpoint.hpp:32:10: fatal error: memory: No such file or directory
#include
^~~~~~~~
In file included from *\Documents\Arduino\libraries\arduinoWebSockets\src/WebSocketsClient.h:28:0,
from *\sketch_aug1a\sketch_aug1a.ino:17:
*\Documents\Arduino\libraries\arduinoWebSockets\src/WebSockets.h:37:2: error: #error Version 2.x.x currently does not support Arduino with AVR since there is no support for std namespace of c++.
#error Version 2.x.x currently does not support Arduino with AVR since there is no support for std namespace of c++.
^~~~~
(At the last one i deleted my 2.0.0 IDE and installed the 1.8.9 but nothing changed.)
Can any1 help me please? Thank you