-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
How to build with WebSockets support #1397
Comments
I rebuilt with |
Mosquitto has two ways of building. The first, and best supported, is the use of the plain makefiles provided. The second is to use cmake, for Windows and Mac, and for people who don't want to use the plain makefiles for whatever reason. If you're using the plain makefiles, then If you're using then try I hope that helps. |
Did this solve the problem? |
makefiles work, but cmake not work |
I'm attempting to build v. 1.6.4 with WebSockets support and it's not working.
I get no compile-time error. However, when I run the broker, the log file reports that websockets is not supported, "Error: Websockets support not available."
I've compiled using
WITH_WEBSOCKETS=yes
, and I havelibwebsockets
installed, but still no success. A look atconfig.mk
suggests that there's no way to tell the build chain where to get libwebsockets from.To include WebSocket support, the instructions say to
make WITH_WEBSOCKETS=yes
but that seems insufficient in and of itself. What am I doing wrong?The text was updated successfully, but these errors were encountered: