In this repository I already did the required includes for compiling. You can simply clone and import it in the workbench. But you still need to make the configuration of your own network settings ( Paho-Guide 1.2).

How are you importing the project into the XDK Workbench? I see that it is trying to compile MQTT IBM, this should not be the name of the project, out of the box it should be MQTT_Paho. Did you change this name, or create it through the import process?

To import the project please follow the instructions here:

https://xdk.bosch-connectivity.com/importing-a-project

If the import process is not followed correctly the project will not properly bring in the projects properties and this looks like the issue you are facing.

Please see my reply to Frank on how to import the project and please read and follow the tutorial instructions for the MQTT demo. The tutorial file instructs you to download the paho source code and also instructs you how and where to edit this source code to link the XDK platform to the paho code.

i dont want to compile MQTT edmo. last year when i was working with the XDK i could run any demo program provided. i think maybe after new update something has changed. right now except one demo for LED band button the other ones dont compile because headers like