1

(1 replies, posted in wolfMQTT)

Hello,

I recently came across WolfMQTT solution and wanted to try a simple MQTT Publishing example. However, I do not see any guide or instructions on building the examples.

I was able to install WolfSSL and WolfMQTT by following the instructions in the user manuals on by Ubuntu 18.06 LTS.

I am simply trying to compile the given example:

prateekkhatri@PC-10307:~/work/wolf/wolfMQTT/examples/mqttclient$ gcc mqttclient.c -o mqtt-test-wolf -lwolfmqtt
In file included from mqttclient.c:29:0:
mqttclient.h:25:10: fatal error: examples/mqttexample.h: No such file or directory
 #include "examples/mqttexample.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Please advise.