Closed Jeansen closed 6 months ago
The build on Ubuntu 22.04.3 LTS
works.
I guess the GCC on your env Debian 6.6.15-2 (2024-02-04)
can not compile libwebsockets v4.2-stable
So can you try building the latest version of libwebsockets? I think client-c will work with the latest libwebsockets (But I haven't tested it before).
Hey @ityuhui Thanks for the quick reply. It works on Debian bookworm and you might be correct. I'll try your hint. Also, maybe you could update the README. I also had to install packages like make cmake build-essential
.
I had this issue on Ubuntu 23.10, and the fix for me was to pull from main instead of this branch:
Docs say:
git clone https://github.com/warmcat/libwebsockets --depth 1 --branch v4.2-stable
Fix:
git clone https://github.com/warmcat/libwebsockets
It's great. Thank you all for the information. We can update the document to bump to the latest release version.
But I want to try sudo apt-get install libwebsockets-dev
first. I think a compatible version of libwebsockets is now in the Debian and Ubuntu apt repo.
Followed the main documentation, but when I run make after the cmake command for libwebsockets, I get the following error: