Compiling uLisp for LilyGO T-Deck on OpenBSD


#1

Hi, folks!

I attempted to compile uLisp on an amd64 OpenBSD 7.7 computer.

As the IDE is not available on OpenBSD, I used mkEspArduino.

$ mkdir -p ~/Arduino/ulisp
$ cp ~/Downloads/ulisp-tdeck.ino ./ulisp/
$ git clone --recursive  https://github.com/Xinyuan-LilyGO/T-Deck
$ cd libraries
$ ln -s ../T-Deck/lib ./T-Deck

So I started the compilation:

PATH=$PATH:/usr/local/xtensa-esp32-elf/bin/ \
  gmake -f /usr/local/share/makeEspArduino/makeEspArduino.mk \
  BUILD_THREADS=1 CHIP=esp32 \
  LIBS=/home/alexshendi/Arduindo/libraries/T-Deck/TFT_eSPI/ all
- Finding all involved files for the build ...
- Parsing Arduino configuration files ...
HardwareSerial.cpp
Tone.cpp
[...]
Button.cpp
/home/alexshendi/Arduindo/T-Deck/lib/TFT_eSPI/Extensions/Button.cpp:5:1: error: 'TFT_eSPI_Button' does not name a type
 TFT_eSPI_Button::TFT_eSPI_Button(void) {
 ^~~~~~~~~~~~~~~
/home/alexshendi/Arduindo/T-Deck/lib/TFT_eSPI/Extensions/Button.cpp:16:6: error: 'TFT_eSPI_Button' has not been declared

 void TFT_eSPI_Button::initButton(
      ^~~~~~~~~~~~~~~

Apparently it can’t find the TFT_eSPI_Button class. I have no idea how to go on. Could someone please enlighten me? 💡

Thanks in advance,

Alexander


#2

I don’t know anything about mkEspArduino, but have you installed TFT_eSPI from the LilyGO T-Deck repository on GitHub, as explained in the installation instructions at:

Installing the T-Deck uLisp firmware

rather than the standard one at https://github.com/Bodmer/TFT_eSPI?


#3

Yes, see the third line in the first code-block.


#4

OK, yes, I see that now. Sorry, I don’t really have any other suggestions.