I’m starting to work with VS Code and Particle Workbench and I think it is great.
Previosly I worked with the Web IDE because I need to update my device remotely.
I’m working a project that involves MQTT and for that I used the MQTT library installed via
Particle: Install Library.
I’m building a library that wraps the functions included into MQTT library in order to reuse this library in several project.
To do that I wrote a library “mqtt_service” and another library called “common” (common library includes some project #define and error code).
The local compile returns without errors, but when I start cloud compile I get this error:
fatal error: …lib\local\common\common.h: No such file or directory
I included the common library in the *.ino files as:
This is the project structure:
Which is the right way to include libraries and compile that on the cloud?
Thanks for the help.