Help with components visibility
Posted: Thu May 21, 2020 6:07 am
Hi there!
I wanted to know if I'm missing something in my CMAKE instructions since from componentA (CalEPD) I cannot include componentB (Adafruit_GFX)
Source codes are here:
https://github.com/martinberlin/cale-id ... t_adafruit
Basically I would like to include the fonts in a class I'm starting to control epaper displays. When I do the idf.py build I see that the components are there:
-- Components: Adafruit-GFX CalEPD
But if I try to include "Adafruit_GFX.h" header file to extent it from my main class then the compiler can't find it:
In file included from ../components/CalEPD/epd.cpp:2:
../components/CalEPD/include/epd.h:18:10: fatal error: Adafruit_GFX.h: No such file or directory
#include <Adafruit_GFX.h>
For sure I'm missing something since I see examples of this being done all the time. Could you please enlighten me?
I wanted to know if I'm missing something in my CMAKE instructions since from componentA (CalEPD) I cannot include componentB (Adafruit_GFX)
Source codes are here:
https://github.com/martinberlin/cale-id ... t_adafruit
Basically I would like to include the fonts in a class I'm starting to control epaper displays. When I do the idf.py build I see that the components are there:
-- Components: Adafruit-GFX CalEPD
But if I try to include "Adafruit_GFX.h" header file to extent it from my main class then the compiler can't find it:
In file included from ../components/CalEPD/epd.cpp:2:
../components/CalEPD/include/epd.h:18:10: fatal error: Adafruit_GFX.h: No such file or directory
#include <Adafruit_GFX.h>
For sure I'm missing something since I see examples of this being done all the time. Could you please enlighten me?