-
Notifications
You must be signed in to change notification settings - Fork 1
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 including map #1
Comments
Hi @patricknn , please give me more info like: It seems like you have not installed library using Arduino IDE Library Manager. |
I'm Just trying to compile an empty file with the StreamLabsAPI.h included |
The problem is in the SocketIoLibrary dependency, here is the Issue #86 This error happens because new version of ArduinoWebSockets was released (SocketIoLibrary is based on it). I could use SocketIOClient class in ArduinoWebSockets instead of using SocketIoLibrary, I have to think about it. For the moment the quick fix is to change: SocketIoClient.cpp: StreamlabsAPI.cpp: I didn't test this piece of code, let me know if it works. |
Hello, I had this same issue with the type conversion of the fingerprint. Your provided changes did not solve the problem, however the solution that did at least get it to compile and run was the same one linked in the issue above. Simply changed from WebSockets 2.3.0 to 2.2.0. I still run into errors on execution though, once the WiFi is connected it fails to connect to the Streamlabs Socket server. Just repeatedly giving the line '[SIoC] Disconnected!' inside the serial monitor. |
Hi @adam-antite I didn't tell you to go back to WebSocket 2.2.0 because i fixed a problem in WebSocket library here 567 and is available from WebSocket 2.3.0, when i fixed the problem, this library was still compatible with socketIo, some changes occured after my pull request. |
Hi Guys, for the moment try to use this version of WebSocket that contains my fix: Let me know if it works |
Hey @lucalas , just tried your fix and it's working like a charm, thanks a lot ! Great job ! |
Right now i'm going to close the issue because there is a workaround. |
I hate websockets library. SocketIoClient.h: SocketIoClient.cpp: Could this program be a little easier for novices. Which version of libraries should we use? |
Hey @audreycgltt |
Hey @lambader I will try to have a look at it by the end of December when I got a bit of time :) |
Hi @lambader, sorry for these problems. I will try to have a look again. BTW, did you try to follow these steps? using my socketio library fork
|
When I try to compile I receive the following error:
C:\Users\xxxx\Documents\Arduino\libraries\StreamlabsArduinoAlerts\src/StreamlabsAPI.h:2:10: fatal error: map: No such file or directory
#include
^~~~~
compilation terminated.
exit status 1
The text was updated successfully, but these errors were encountered: