How can I build the mosquitto broker on Windows?

Created by Roger Light
Keywords:
Last updated by:
Roger Light

On Windows Vista or later the complete Mosquitto project can be compiled with Visual Studio. Use CMake ( http://cmake.org/ ) to generate the project files.

On earlier versions of Windows, you must you must use cygwin to compile the broker. The client dll and clients can be compiled with Visual Studio as above. Instructions for compiling the broker are at http://mosquitto.org/documentation/compiling/windows-cygwin

If you want to use the mosquitto client dll in your project, all of the required files are in the installers provided at http://mosquitto.org/files/binary/win32/