sudo apt-get install cmake g++ pkg-config git vim-common libwebsockets-dev libjson-c-dev libssl-dev
git clone https://github.com/tsl0922/ttyd.git
cd ttyd && mkdir build && cd build
cmake ..
make
execute above command and notify fatal error:
In file included from ttyd/src/server.c:1:0:
ttyd/src/server.h:1:24: fatal error: lws_config.h: No such file or directory
#include "lws_config.h"
I already downloaded libwebsockets source code and install to fix this compile error.
Please update README.md
execute above command and notify fatal error:
I already downloaded libwebsockets source code and install to fix this compile error.
Please update README.md