fatal error: No such file or directory ../build/target/user/platform-6xxxx
I tried with just one directory with everything in it and it worked, although I HATE it because it looks so fatty. "Stupid Particle" I said...
The first reference inspired me that Particle is actually making its compiler "smart" enough to search through all subfolders and we don't have to manually setup the relative directories. For example, if we have ./sensors/xxxTemperature.h, we usually write the include code:
#include "./sensors/xxxTemperature.h"
#include "xxxTemperature.h"
And the Particle Compiler could automatically search for it.
ref:
https://community.particle.io/t/subdirectories-not-compiling-in-cli-fixed/9283/5 (helped me.)
https://community.particle.io/t/compiling-using-cli-with-multiple-directories/24273
https://community.particle.io/t/multiple-folders-in-the-dev-ide-compile-errors-go-to-blank-file/18876
No comments:
Post a Comment