On a roll with these errors This one it a stumpier cause I have all the files.

Maybe someone can point to the right place.

Arduino: 1.6.5 (Windows 8.1), Board: "Arduino/Genuino Uno"

Build options changed, rebuilding all

Using library TouchScreenMenu in folder: C:\Users\be80b\Documents\Arduino\libraries\TouchScreenMenu (legacy)

Using library TouchScreen in folder: C:\Users\be80b\Documents\Arduino\libraries\TouchScreen (legacy)

Using library TFT in folder: C:\Users\be80b\Documents\Arduino\libraries\TFT (legacy)



C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard -IC:\Users\be80b\Documents\Arduino\libraries\TouchScreenMenu -IC:\Users\be80b\Documents\Arduino\libraries\TouchScreen -IC:\Users\be80b\Documents\Arduino\libraries\TFT C:\Users\be80b\AppData\Local\Temp\build1996304876959773872.tmp\TouchScreenMenuTest.cpp -o C:\Users\be80b\AppData\Local\Temp\build1996304876959773872.tmp\TouchScreenMenuTest.cpp.o 

TouchScreenMenuTest.ino:28:21: fatal error: cstddef.h: No such file or directory
compilation terminated.
Error compiling.

You’re including it wrong, so it’s looking in the wrong place for the file. Includes can be done with the file in <>'s or “”'s, and those don’t mean the same thing - or the file could just flat out be in the wrong place.

It's in the libraries folder all 3 of them

Line 28 of TouchScreenMenuTest.ino contains an include of cstddef.h which is not found in any library path.
Try changing that line to:
#include <stddef.h>

Pete

I seen that tried it and it's saying i'm steal using it.

I don't understand your reply.

Pete

Sorry I changed it and it still showed same error but I think java stopped working I had to reboot Think windows 10 has a bug with java it’s stopped two times today.
But here what it’s saying now.

Arduino: 1.6.5 (Windows 8.1), Board: "Arduino/Genuino Uno"

Build options changed, rebuilding all

Using library TouchScreenMenu in folder: C:\Users\be80b\Documents\Arduino\libraries\TouchScreenMenu (legacy)

Using library TouchScreen in folder: C:\Users\be80b\Documents\Arduino\libraries\TouchScreen (legacy)

Using library TFT in folder: C:\Users\be80b\Documents\Arduino\libraries\TFT (legacy)



C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard -IC:\Users\be80b\Documents\Arduino\libraries\TouchScreenMenu -IC:\Users\be80b\Documents\Arduino\libraries\TouchScreen -IC:\Users\be80b\Documents\Arduino\libraries\TFT C:\Users\be80b\AppData\Local\Temp\build6348259041131335518.tmp\TouchScreenMenuTest.cpp -o C:\Users\be80b\AppData\Local\Temp\build6348259041131335518.tmp\TouchScreenMenuTest.cpp.o 

ToScMeTest.ino:31:34: error: redefinition of 'TouchScreenMenuItem subMenuItems []'
TouchScreenMenuTest.ino:31:21: error: 'TouchScreenMenuItem subMenuItems [7]' previously declared here
ToScMeTest.ino:42:38: error: redefinition of 'TouchScreenMenuItem leftSubMenuItems []'
TouchScreenMenuTest.ino:42:21: error: 'TouchScreenMenuItem leftSubMenuItems [7]' previously declared here
ToScMeTest.ino:53:39: error: redefinition of 'TouchScreenMenuItem rightSubMenuItems []'
TouchScreenMenuTest.ino:53:21: error: 'TouchScreenMenuItem rightSubMenuItems [7]' previously declared here
ToScMeTest.ino:64:41: error: redefinition of 'TouchScreenMenuItem spacingSubMenuItems []'
TouchScreenMenuTest.ino:64:21: error: 'TouchScreenMenuItem spacingSubMenuItems [4]' previously declared here
ToScMeTest.ino:72:41: error: redefinition of 'TouchScreenMenuItem paddingSubMenuItems []'
TouchScreenMenuTest.ino:72:21: error: 'TouchScreenMenuItem paddingSubMenuItems [4]' previously declared here
ToScMeTest.ino:80:39: error: redefinition of 'TouchScreenMenuItem smallSubMenuItems []'
TouchScreenMenuTest.ino:80:21: error: 'TouchScreenMenuItem smallSubMenuItems [11]' previously declared here
ToScMeTest.ino:95:35: error: redefinition of 'TouchScreenMenuItem mainMenuItems []'
TouchScreenMenuTest.ino:95:21: error: 'TouchScreenMenuItem mainMenuItems [5]' previously declared here
ToScMeTest.ino:104:17: error: redefinition of 'TouchScreenMenu paddingSubMenu'
TouchScreenMenuTest.ino:104:17: error: 'TouchScreenMenu paddingSubMenu' previously declared here
ToScMeTest.ino:105:17: error: redefinition of 'TouchScreenMenu spacingSubMenu'
TouchScreenMenuTest.ino:105:17: error: 'TouchScreenMenu spacingSubMenu' previously declared here
ToScMeTest.ino:106:17: error: redefinition of 'TouchScreenMenu smallSubMenu'
TouchScreenMenuTest.ino:106:17: error: 'TouchScreenMenu smallSubMenu' previously declared here
ToScMeTest.ino:107:17: error: redefinition of 'TouchScreenMenu rightSubMenu'
TouchScreenMenuTest.ino:107:17: error: 'TouchScreenMenu rightSubMenu' previously declared here
ToScMeTest.ino:108:17: error: redefinition of 'TouchScreenMenu leftSubMenu'
TouchScreenMenuTest.ino:108:17: error: 'TouchScreenMenu leftSubMenu' previously declared here
ToScMeTest.ino:109:17: error: redefinition of 'TouchScreenMenu subMenu'
TouchScreenMenuTest.ino:109:17: error: 'TouchScreenMenu subMenu' previously declared here
ToScMeTest.ino:110:17: error: redefinition of 'TouchScreenMenu mainMenu'
TouchScreenMenuTest.ino:110:17: error: 'TouchScreenMenu mainMenu' previously declared here
ToScMeTest.ino:113:18: error: redefinition of 'TouchScreenMenu* curMenu'
TouchScreenMenuTest.ino:113:18: error: 'TouchScreenMenu* curMenu' previously defined here
ToScMeTest.ino:115:17: error: redefinition of 'TouchScreenArea backFromGfx'
TouchScreenMenuTest.ino:115:17: error: 'TouchScreenArea backFromGfx' previously declared here
ToScMeTest.ino:116:17: error: redefinition of 'TouchScreenArea backFromBtns'
TouchScreenMenuTest.ino:116:17: error: 'TouchScreenArea backFromBtns' previously declared here
ToScMeTest.ino:117:17: error: redefinition of 'TouchScreenArea backFromLbls'
TouchScreenMenuTest.ino:117:17: error: 'TouchScreenArea backFromLbls' previously declared here
ToScMeTest.ino:119:24: error: redefinition of 'TouchScreenArrowButton btn1'
TouchScreenMenuTest.ino:119:24: error: 'TouchScreenArrowButton btn1' previously declared here
ToScMeTest.ino:120:24: error: redefinition of 'TouchScreenArrowButton btn2'
TouchScreenMenuTest.ino:120:24: error: 'TouchScreenArrowButton btn2' previously declared here
ToScMeTest.ino:121:24: error: redefinition of 'TouchScreenArrowButton btn3'
TouchScreenMenuTest.ino:121:24: error: 'TouchScreenArrowButton btn3' previously declared here
ToScMeTest.ino:122:24: error: redefinition of 'TouchScreenArrowButton btn4'
TouchScreenMenuTest.ino:122:24: error: 'TouchScreenArrowButton btn4' previously declared here
ToScMeTest.ino:123:25: error: redefinition of 'TouchScreenCircleButton btn5'
TouchScreenMenuTest.ino:123:25: error: 'TouchScreenCircleButton btn5' previously declared here
ToScMeTest.ino:124:25: error: redefinition of 'TouchScreenCircleButton btn6'
TouchScreenMenuTest.ino:124:25: error: 'TouchScreenCircleButton btn6' previously declared here
ToScMeTest.ino:125:19: error: redefinition of 'TouchScreenSlider btn7'
TouchScreenMenuTest.ino:125:19: error: 'TouchScreenSlider btn7' previously declared here
ToScMeTest.ino:126:19: error: redefinition of 'TouchScreenSlider btn8'
TouchScreenMenuTest.ino:126:19: error: 'TouchScreenSlider btn8' previously declared here
ToScMeTest.ino:128:17: error: redefinition of 'TouchScreenArea lbl1'
TouchScreenMenuTest.ino:128:17: error: 'TouchScreenArea lbl1' previously declared here
ToScMeTest.ino:129:17: error: redefinition of 'TouchScreenArea lbl2'
TouchScreenMenuTest.ino:129:17: error: 'TouchScreenArea lbl2' previously declared here
ToScMeTest.ino:130:17: error: redefinition of 'TouchScreenArea lbl3'
TouchScreenMenuTest.ino:130:17: error: 'TouchScreenArea lbl3' previously declared here
ToScMeTest.ino:131:17: error: redefinition of 'TouchScreenArea lbl4'
TouchScreenMenuTest.ino:131:17: error: 'TouchScreenArea lbl4' previously declared here
ToScMeTest.ino:132:17: error: redefinition of 'TouchScreenArea lbl5'
TouchScreenMenuTest.ino:132:17: error: 'TouchScreenArea lbl5' previously declared here
ToScMeTest.ino:133:17: error: redefinition of 'TouchScreenArea lbl6'
TouchScreenMenuTest.ino:133:17: error: 'TouchScreenArea lbl6' previously declared here
ToScMeTest.ino: In function 'void setup()':
ToScMeTest.ino:135:6: error: redefinition of 'void setup()'
TouchScreenMenuTest.ino:135:6: error: 'void setup()' previously defined here
ToScMeTest.ino: In function 'void loop()':
ToScMeTest.ino:145:6: error: redefinition of 'void loop()'
TouchScreenMenuTest.ino:145:6: error: 'void loop()' previously defined here
ToScMeTest.ino: In function 'void checkButtons()':
ToScMeTest.ino:160:6: error: redefinition of 'void checkButtons()'
TouchScreenMenuTest.ino:160:6: error: 'void checkButtons()' previously defined here
ToScMeTest.ino: In function 'void checkMenuSelection(TouchScreenMenuItem*)':
ToScMeTest.ino:203:6: error: redefinition of 'void checkMenuSelection(TouchScreenMenuItem*)'
TouchScreenMenuTest.ino:203:6: error: 'void checkMenuSelection(TouchScreenMenuItem*)' previously defined here
redefinition of 'TouchScreenMenuItem subMenuItems []'

Now it this I don’t get it.

Arduino: 1.6.5 (Windows 8.1), Board: "Arduino/Genuino Uno"

Using library TouchScreenMenu in folder: C:\Users\be80b\Documents\Arduino\libraries\TouchScreenMenu (legacy)

Using library TouchScreen in folder: C:\Users\be80b\Documents\Arduino\libraries\TouchScreen (legacy)

Using library TFT in folder: C:\Users\be80b\Documents\Arduino\libraries\TFT (legacy)



C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard -IC:\Users\be80b\Documents\Arduino\libraries\TouchScreenMenu -IC:\Users\be80b\Documents\Arduino\libraries\TouchScreen -IC:\Users\be80b\Documents\Arduino\libraries\TFT C:\Users\be80b\AppData\Local\Temp\build4007590664808100541.tmp\TouchScreenMenuTest.cpp -o C:\Users\be80b\AppData\Local\Temp\build4007590664808100541.tmp\TouchScreenMenuTest.cpp.o 

C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10605 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard -IC:\Users\be80b\Documents\Arduino\libraries\TouchScreenMenu -IC:\Users\be80b\Documents\Arduino\libraries\TouchScreen -IC:\Users\be80b\Documents\Arduino\libraries\TFT -IC:\Users\be80b\Documents\Arduino\libraries\TouchScreenMenu\utility C:\Users\be80b\Documents\Arduino\libraries\TouchScreenMenu\TouchScreenMenu.cpp -o C:\Users\be80b\AppData\Local\Temp\build4007590664808100541.tmp\TouchScreenMenu\TouchScreenMenu.cpp.o 

C:\Users\be80b\Documents\Arduino\libraries\TouchScreenMenu\TouchScreenMenu.cpp:25:21: fatal error: cstddef.h: No such file or directory
 #include <cstddef.h>
                     ^
compilation terminated.
Error compiling.

I changed it to stddef.h

almost looks like you have called the same library twice or have 2 windows open on the same program ( or 2 versions saved with the same name). Maybe be a copy in your app folder.

try opening the program and saving to a different name then shut the ide, restart and load the renamed file.

Ok

el_supremo: I don't understand your reply.

Pete

Thanks buddy I found it it was in a,cpp file too changed that and it works |374x500