I have a problem with my libraries since i made some changes in the file structure.
My project was working fine with the following structure:
lib: ArduinoUtils: Timer: Timer.h Timer.cpp Button: Button.h Button.cpp CodeBCD: CodeBCD.h CodeBCD.cpp src: main.cpp depend.h
depend.h contains all the dependencies:
#include <Arduino.h>
#include <EEPROM.h>#include <Button.h>
The project worked just fine when it was like that.
I have a repository in github called ArduinoUtils that contains the three libraries a i was using, so a deleted lib/Time, lib/Button, and lib/CodeBCD. Then i downloaded ArduinoUtils inside the lib
directory.
So now the lib directory is like this:
lib: ArduinoUtils: Timer: Timer.h Timer.cpp Button: Button.h Button.cpp CodeBCD: CodeBCD.h CodeBCD.cpp
Now when i built the project platformio says that the file doesn’t exist:
src/depend.h:4:20: fatal error: Button.h: No such file or directory
`