Jump to content
alireza_8051

Errors into compile ili9341 driver for arduino

Recommended Posts

hi joel

please help me for this error into arduino IDE for compile the sample for ili9341 display driver:

Archiving built core (caching) in: C:\Users\ali\AppData\Local\Temp\arduino_cache_922374\core\core_espressif_esp32_nodemcu-32s_FlashFreq_80,UploadSpeed_115200_09f32d9e6bd15b1a09cbb4eea19f1b28.a
libraries\ugfx-arduino-master\ugfx-arduino.c.o:(.literal._gfxGetStackState+0x4): undefined reference to `_setjmp'

libraries\ugfx-arduino-master\ugfx-arduino.c.o:(.literal._gdispInit+0x0): undefined reference to `GDISPVMT_OnlyOne'

libraries\ugfx-arduino-master\ugfx-arduino.c.o: In function `_gfxGetStackState':

C:\Users\ali\Documents\Arduino\libraries\ugfx_2.8/src/gdisp/gdisp.c:713: undefined reference to `_setjmp'

libraries\ugfx-arduino-master\ugfx-arduino.c.o: In function `_gfxXSwitch':

C:\Users\ali\Documents\Arduino\libraries\ugfx_2.8/src/gdisp/gdisp.c:713: undefined reference to `_setjmp'

C:\Users\ali\Documents\Arduino\libraries\ugfx_2.8/src/gdisp/gdisp.c:713: undefined reference to `_setjmp'

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board NodeMCU-32S.

 

Share this post


Link to post
Share on other sites

There are two errors here...

1. Your linker is saying it can't find _setjmp in your C library. This could be a broken C library or it could mean the decoration (the leading underscore) is not correct for your library. Look in gos_threadx.c and .h and gos_arduino.c and .h and play with the code that sets the decoration on setup. Note it is interesting that it is not complaining about longjmp.

2. The 2nd error is the undefined GDISPVMT_OnlyOne. This is indicating that there is no driver currently linked in or that the driver itself has been compiled incorrectly as that symbol is defined in the driver via a couple of macro functions produced in the header include system for the driver.

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×