compiling mosquitto 1.4 with websockets on windows
I got a problem compiling mosquitto 1.4 with websockets set to on I have the following cmake line:
cmake .. -DWITH_THREADING:BOOL=OFF -DWITH_WEBSOCKETS=ON
That will generate a nice mosquitto.sln for visual studio, but now I'm missing libwebsocket.h!
So the question is, what is the easiest way to get websocket installed on Windows and then get mosquitto to build?
You need to download and compile libwebsockets first and then use the provided libwebsockets.h and compiled libwebsockets.lib/.dll when you are building mosquitto.