Names and version look all correct, maybe try and remove external-repo
fields, it should source it from the registry.
What dependencies does it detect for BingMachine in the dependency graph at the start of compilation?
Names and version look all correct, maybe try and remove external-repo
fields, it should source it from the registry.
What dependencies does it detect for BingMachine in the dependency graph at the start of compilation?
Dependency Graph
|-- <Adafruit DRV2605 Library> 1.2.0
| |-- <BingMachine>
| | |-- <SdFat> 1.1.0
| | | |-- <SPI> 1.0
| | |-- <ArduinoMD5>
| | |-- <DueFlashStorage> 1.0.0
| | |-- <Adafruit BusIO> 1.11.6
| | | |-- <Wire> 1.0
| | | |-- <SPI> 1.0
| | |-- <Wire> 1.0
| | |-- <SPI> 1.0
| | |-- <Adafruit LED Backpack Library> 1.3.2+sha.508c0e6
| | |-- <Adafruit GFX Library> 1.11.1
| | | |-- <SPI> 1.0
| | | |-- <Wire> 1.0
| | |-- <BingUI> 0.2
| | | |-- <gd2-lib> 1.3.4
| | | | |-- <SPI> 1.0
| | |-- <AudioI2S> 1.0.1
| | | |-- <SdFat> 1.1.0
| | | | |-- <SPI> 1.0
| | |-- <gd2-lib> 1.3.4
| | | |-- <SPI> 1.0
|-- <Adafruit BusIO> 1.11.6
| |-- <Wire> 1.0
| |-- <SPI> 1.0
|-- <Adafruit LED Backpack Library> 1.3.2+sha.508c0e6
|-- <Adafruit GFX Library> 1.11.1
| |-- <SPI> 1.0
| |-- <Wire> 1.0
|-- <BingMachine>
| |-- <SdFat> 1.1.0
| | |-- <SPI> 1.0
| |-- <ArduinoMD5>
| |-- <DueFlashStorage> 1.0.0
| |-- <Adafruit BusIO> 1.11.6
| | |-- <Wire> 1.0
| | |-- <SPI> 1.0
| |-- <Wire> 1.0
| |-- <SPI> 1.0
| |-- <Adafruit LED Backpack Library> 1.3.2+sha.508c0e6
| |-- <Adafruit GFX Library> 1.11.1
| | |-- <SPI> 1.0
| | |-- <Wire> 1.0
| |-- <BingUI> 0.2
| | |-- <gd2-lib> 1.3.4
| | | |-- <SPI> 1.0
| |-- <AudioI2S> 1.0.1
| | |-- <SdFat> 1.1.0
| | | |-- <SPI> 1.0
| |-- <gd2-lib> 1.3.4
| | |-- <SPI> 1.0
|-- <BingUI> 0.2
| |-- <gd2-lib> 1.3.4
| | |-- <SPI> 1.0
|-- <AudioI2S> 1.0.1
| |-- <SdFat> 1.1.0
| | |-- <SPI> 1.0
|-- <DueFlashStorage> 1.0.0
|-- <gd2-lib> 1.3.4
| |-- <SPI> 1.0
|-- <SdFat> 1.1.0
| |-- <SPI> 1.0
How can the DRV2605 library be dependent on the BingMachine library, that doesn’t look right at all.
Have you added a library.json
in the Adafruit DRV2605 library maybe?
Playing around with the lib_ldf_mode
does not help?
Yes, now that you say it that is weird. I can try installing everything again, maybe i messed up and ended up with that recurrent dependency
Adafruit DRV2605 does not have a library.json
I played around with deep, chain, and their + versions both in GlobalLocal and in BingMachine
There may also be improvements if you upgrade to the latest 6.x core preview version (CLI → pio upgrade --dev
).
Nope, no use…
Im gonna try with another computer from scratch. Any of ideas of where could i look for more instalation errors?
If i start adding header files installed in .pio
folder into a new include
folder missing header files dissapear but i have to start adding all nested includes in every library.
Can you reproduce the problem with the includes not working more minimally a smaller test project so that I can have a look it? PlatformIO’s LDF should find the dependencies + configure them, putting them in include is a sort of hack
I have wrote the original programmer. If i don’t get a clear answer i can try recreating something
I’ve sent you a github Repo with the essentials. If you want to take a look i would be most grateful. If not it’s okay. The modules are supposed to compile independently but i don’t know how. Maybe it’s a version issue
It was an identation problem. Two spaces for each dependency.
Plus, dependencies of the local library I am using have to go in the platformio.ini that USES the library.
I would appreciate if i could see the documentation where both of these issues are addressed. If they are not, please instruct me on how to write them
Thanks for all the help