[ISSUE] Local compile OK - cloud compile has errors

Sorry, for being unclear on that - I meant cloud building locally stored files as .hpp files wouldn't be uploaded to the cloud compiler - in Web IDE the files are already present on the build farm and hence it works.


Update:
When you look at the cloud compile output you should see something like that

Including:
    lib\ArduinoJson\src\ArduinoJson.h
    src\XenonSerTest.ino
    src\XenonSerTest.cpp
    project.properties
attempting to compile firmware 

This clearly shows the .hpp file is not uploaded and hence missing for the compile.

@m_m, this is a somewhat annoying behaviour of CLI that frequently creeps up and I've been proposing (e.g. here) to provide a simple way to inlcude additional file types for CLI.
We used to have a (in old CLI) a spark.include (and for completeness a spark.ignore) file that would cater for that. Can we have that back, please? :pray:

2 Likes