This project imports the Mosquitto C API client into Swift.
This package builds with Swift Package Manager and is part of the Perfect project and should not be manually cloned.
Ensure you have installed and activated the latest Swift 3.0 tool chain.
OS X Notes
This project depends on mosquitto library. To install on mac OS, try command
$ brew install mosquitto
A package configuration file is needed, for example,
/usr/local/lib/pkgconfig/mosquitto.pc as below:
Name: mosquitto Description: Mosquitto Client Library Version: 1.4.11 Requires: Libs: -L/usr/local/lib -lmosquitto Cflags: -I/usr/local/include
Please also export an environmental variable called
$ export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/lib/pkgconfig"
This project depends on Ubuntu 16.04 library
$ apt-get libmosquitto-dev
For more information on the Perfect project, please visit perfect.org.