ImpulseAdventure / GUIslice-Builder

Cross-platform drag & drop GUI builder for GUIslice
Other
163 stars 35 forks source link

GUIslice Builder generates extra code that causes Errors #256

Closed Kabron287 closed 2 months ago

Kabron287 commented 2 months ago

Describe the bug Eample: ex02_bld_btn_txt.prj driver: esp-tftespi-default-ft6206.h To Reproduce Steps to reproduce the behavior:

  1. Generate code Expected behavior Compilation errors: ex02_bld_btn_txt_GSLC.h: 31:4: error: #error Project tab->Target Platform should be tft_espi

    error Project tab->Target Platform should be tft_espi

    ^~~~~ ex02_bld_btn_txt_GSLC.h: 33:10: fatal error: Adafruit_GFX.h: No such file or directory

    include

    ^~~~

Version

Additional context Commenting lines 30-33 in: ex02_bld_btn_txt_GSLC.h

if defined(DRV_DISP_TFT_ESPI)

error Project tab->Target Platform should be tft_espi

endif

include

solves the problem

Kabron287 commented 2 months ago

Sorry, did not read FAQ