Problem with spark.include[Solved]

Hello.
I have strange problem with the CLI.
While I compile (spark compile) a dir the CLI seems to have a problem finding the spark.include file.

Lib1/Class.h
Lib1/Class.cpp
app.ino

It takes the .ino file and ignores libraries put in subfolders.
When I compile adding the files I want to include in the command everything works fine.

spark compile Lib1/Class.h Lib1/Class.cpp app.ino

The permissions to the file are fine.
Does anyone have such a problem?

Please upgrade to the latest version of Spark-Cli and use this example for the Spark.include file: https://community.spark.io/t/subdirectories-not-compiling-in-cli/9283/8

2 Likes

I had ver. 0.4.93.
After update to 0.4.94 it works!
Thanks!

1 Like