Jump to content

Recommended Posts

Posted

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.

 

Posted

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.

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...