You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a new kind of error, I'm surprised because I wasn't getting this kind of errors before days, and I didn't change the version of the builder.
So it's redeclaring the elements again, I don't know if it's a new system in the code builder because I was only designing the GUI and upload it to the MCU, didn't check thoroughly the system of the code generated.
Error messasge:
Arduino: 1.8.19 (Windows 10), Board: "Raspberry Pi Pico, 2MB (no FS), 133 MHz, Small (-Os) (standard), Disabled, Disabled, Disabled, Disabled, None, Pico SDK, IPv4 Only, Default (UF2)"
In file included from E:\projects_electronics_programming\tft\GUIslice\NewFolder\NewFolder.ino:15:
NewFolder_GSLC.h:111:24: error: 'gslc_tsElemRef* E_ELEM_BTN5' redeclared as different kind of entity
111 | extern gslc_tsElemRef* E_ELEM_BTN5;
| ^~~~~~~~~~~
E:\projects_electronics_programming\tft\GUIslice\NewFolder\NewFolder_GSLC.h:54:20: note: previous declaration '<unnamed enum> E_ELEM_BTN5'
54 | ,E_ELEM_BTN4,E_ELEM_BTN5,E_ELEM_BTN7,E_ELEM_BTN8,E_ELEM_NUMINPUT1
| ^~~~~~~~~~~
NewFolder_GSLC.h:112:24: error: 'gslc_tsElemRef* E_ELEM_NUMINPUT1' redeclared as different kind of entity
112 | extern gslc_tsElemRef* E_ELEM_NUMINPUT1;
| ^~~~~~~~~~~~~~~~
E:\projects_electronics_programming\tft\GUIslice\NewFolder\NewFolder_GSLC.h:54:56: note: previous declaration '<unnamed enum> E_ELEM_NUMINPUT1'
54 | ,E_ELEM_BTN4,E_ELEM_BTN5,E_ELEM_BTN7,E_ELEM_BTN8,E_ELEM_NUMINPUT1
| ^~~~~~~~~~~~~~~~
E:\projects_electronics_programming\tft\GUIslice\NewFolder\NewFolder_GSLC.h: In function 'void InitGUIslice_gen()':
NewFolder_GSLC.h:188:3: error: lvalue required as left operand of assignment
188 | E_ELEM_NUMINPUT1 = pElemRef;
| ^~~~~~~~~~~~~~~~
NewFolder_GSLC.h:223:3: error: lvalue required as left operand of assignment
223 | E_ELEM_BTN5 = pElemRef;
| ^~~~~~~~~~~
E:\projects_electronics_programming\tft\GUIslice\NewFolder\NewFolder.ino: At global scope:
NewFolder:24:17: error: 'gslc_tsElemRef* E_ELEM_BTN5' redeclared as different kind of entity
24 | gslc_tsElemRef* E_ELEM_BTN5 = NULL;
| ^~~~~~~~~~~
E:\projects_electronics_programming\tft\GUIslice\NewFolder\NewFolder_GSLC.h:54:20: note: previous declaration '<unnamed enum> E_ELEM_BTN5'
54 | ,E_ELEM_BTN4,E_ELEM_BTN5,E_ELEM_BTN7,E_ELEM_BTN8,E_ELEM_NUMINPUT1
| ^~~~~~~~~~~
NewFolder:25:17: error: 'gslc_tsElemRef* E_ELEM_NUMINPUT1' redeclared as different kind of entity
25 | gslc_tsElemRef* E_ELEM_NUMINPUT1 = NULL;
| ^~~~~~~~~~~~~~~~
E:\projects_electronics_programming\tft\GUIslice\NewFolder\NewFolder_GSLC.h:54:56: note: previous declaration '<unnamed enum> E_ELEM_NUMINPUT1'
54 | ,E_ELEM_BTN4,E_ELEM_BTN5,E_ELEM_BTN7,E_ELEM_BTN8,E_ELEM_NUMINPUT1
| ^~~~~~~~~~~~~~~~
exit status 1
'gslc_tsElemRef* E_ELEM_BTN5' redeclared as different kind of entity
Invalid library found in E:\Programs_Files\Arduino\libraries\Nscreen_32-master: no headers files (.h) found in E:\Programs_Files\Arduino\libraries\Nscreen_32-master
Invalid library found in E:\Programs_Files\Arduino\libraries\openHASP-master: no headers files (.h) found in E:\Programs_Files\Arduino\libraries\openHASP-master
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered:
Hi,
I'm having a new kind of error, I'm surprised because I wasn't getting this kind of errors before days, and I didn't change the version of the builder.
Here's the code folder:
NewFolder.zip
So it's redeclaring the elements again, I don't know if it's a new system in the code builder because I was only designing the GUI and upload it to the MCU, didn't check thoroughly the system of the code generated.
Error messasge:
The text was updated successfully, but these errors were encountered: