Skip to content

Unclear reference to WebSocketsServer.h, file not found #227

@Joennuh

Description

@Joennuh

In release 4.15.11 somewhere jsonFmt.h / jsonFmt.cpp is referenced resulting in an error saying WebSocketsServer.h could not befound. When I do a search with Github on the files of the repository I can't find any link to those 3 files. Also I didn't put an include to any of those 3 files.

The error is:

In file included from C:\Users\*****\Documents\Arduino\libraries\ArduinoMenu-master\src\menuIO\jsonFmt.h:9:0,

                 from C:\Users\*****\Documents\Arduino\libraries\ArduinoMenu-master\src\menuIO\jsonFmt.cpp:3:

C:\Users\*****\Documents\Arduino\libraries\ArduinoMenu-master\src\menuIO\esp8266Out.h:9:32: fatal error: WebSocketsServer.h: No such file or directory

   #include <WebSocketsServer.h>

                                ^

compilation terminated.

The includes I use in my testproject:

#include <Arduino.h>
#include <menu.h>
#include <menuIO/u8g2Out.h>
#include <menuIO/serialIn.h>
#include <menuIO/serialOut.h>
#include <menuIO/altKeyIn.h>
#include <menuIO/chainStream.h>
#include <Wire.h>

My testproject runs on a Wemos D1 mini clone (ESP8266) with U8G2 compatible 128x64 OLED screen and 3 buttons (1 internal pull up, 2 external pull up).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions