Hi everyone, I am switching to using scripts to have a better workflow: github > VS > BELA.
I adapted the code found here to work with an SSD1306 display. Everything works when I use the IDE. However, when I use the script ./build_project.sh via terminal, with exactly the same code downloaded from the IDE, a fatal error appears:
Building and running project...
Building linux-i2c.c...
/root/Bela/projects/ab_oled/u8g2/common/linux-i2c.c:11:10: fatal error: 'u8x8.h' file not found
#include <u8x8.h>
^
1 error generated.
Makefile:518: recipe for target '/root/Bela/projects/ab_oled/build/u8g2/common/linux-i2c.o' failed
make: *** [/root/Bela/projects/ab_oled/build/u8g2/common/linux-i2c.o] Error 1
Connection to 192.168.7.2 closed.
Why u8x8.h is missing? (I find it in u8g2/csrc/u8x8.h)
What am I missing?
Thank you for the help
a