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:


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.

Need Your Help

Can SQLite databases be shared across a Windows service and user application?

windows sqlite service share

In my product I want to share data using SQLite between a Windows service and a user-level application. However, I have been running into some problems.

Backing up a MySQL database using PHP

php mysql backup

I was trying to make a backup of my MySQL db called "backup" using a PHP script below, but for some reason, it doesnt work. Any ideas what is wrong? I wanted to create a file called test.sql in the...