Dependencies and libraries

Hello everyone.

I have some classes from other C projects which I want to include in some of my PIO Projects. These classes are still in development and are modified.

I linked my library under

[env:myenv]
lib_extra_dir = ../libraries

and at first it worked fine. Now my custom libraries reference other classes from the library and I get a linker error

No such file or directory
Looking for MyOtherClass.h dependency? Check our library registry!

My file structure is as follows

My class

#include <Arduino.h>
#include <MyOtherClass.h>

\\code

My other class

#include <Arduino.h>

\\code

Is there any way to link the external lib with all necessary dependencies?

Thanks

See Redirecting...