Start a new topic

NexTouch *nex_listen_list[] = {

From Arduino error log upon uploading.    *MEga 2560


Arduino: 1.0.6 (Windows 7), Board: "Arduino Mega 2560 or Mega ADK"
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega C:\Users\me\AppData\Local\Temp\build4253132772385641314.tmp\sketch_jan22a.cpp -o C:\Users\me\AppData\Local\Temp\build4253132772385641314.tmp\sketch_jan22a.cpp.o

sketch_jan22a.ino:2:21: error: Nextion.h: No such file or directory
sketch_jan22a:4: error: expected constructor, destructor, or type conversion before '*' token
sketch_jan22a.ino: In function 'void setup()':
sketch_jan22a:10: error: 'nexInit' was not declared in this scope
sketch_jan22a:11: error: 'dbSerialPrintln' was not declared in this scope
sketch_jan22a.ino: In function 'void loop()':
sketch_jan22a:16: error: 'nex_listen_list' was not declared in this scope
sketch_jan22a:16: error: 'nexLoop' was not declared in this scope


but there is Nextion.h in library folder

sc2.png
(250 KB)

The follwing code is what was trying to be uploaded.


#include <Arduino.h>

#include "Nextion.h"

 

NexTouch *nex_listen_list[] = {

  NULL

};

 

void setup() {

  // put your setup code here, to run once:

  nexInit();

  dbSerialPrintln("setup done");

}

 

void loop() {

  // put your main code here, to run repeatedly:

  nexLoop(nex_listen_list);

}

 

from the looks of it you have not unzipped the library as instructed.

Sketch -> Include Libraries -> Add .ZIP Libraries


The IDE will then unpack to where it is necessary and include

I have confirmed it is added to library...twice in fact...
Ive tried deleting the unziped folder that Arduino creates and retrying the add library function in arduino.
Now I am getting a different error when trying to upload simple communication test sketch that you provided to me.

Arduino: 1.0.6 (Windows 7), Board: "Arduino Mega 2560 or Mega ADK"
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\sketch_jan23a.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\sketch_jan23a.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexButton.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexButton.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexCheckbox.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexCheckbox.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexCrop.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexCrop.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexDualStateButton.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexDualStateButton.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexGauge.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexGauge.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexGpio.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexGpio.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexHardware.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexHotspot.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexHotspot.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexNumber.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexNumber.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexObject.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexObject.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexPage.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexPage.cpp.o

C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexPage.cpp: In member function 'bool NexPage::show()':
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexPage.cpp:25: warning: unused variable 'buffer'
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexPicture.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexPicture.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexProgressBar.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexProgressBar.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRadio.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexRadio.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp.o

C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp: In member function 'bool NexRtc::write_rtc_time(char*)':
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp:21: warning: unused variable 'i'
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp: In member function 'bool NexRtc::write_rtc_time(uint32_t*)':
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp:78: warning: unused variable 'i'
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp:123: warning: no return statement in function returning non-void
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp: In member function 'uint32_t NexRtc::read_rtc_time(char*, uint32_t)':
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp:232: warning: comparison between signed and unsigned integer expressions
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp:238: warning: no return statement in function returning non-void
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp: In member function 'uint32_t NexRtc::read_rtc_time(uint32_t*, uint32_t)':
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp:280: warning: comparison between signed and unsigned integer expressions
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp:285: warning: no return statement in function returning non-void
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp: In member function 'uint32_t NexRtc::read_rtc_time(char*, uint32_t*)':
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp:291: warning: unused variable 'buf'
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp: In member function 'uint32_t NexRtc::read_rtc_time(uint32_t*, uint32_t)':
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp:285: warning: control reaches end of non-void function
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp: In member function 'uint32_t NexRtc::read_rtc_time(char*, uint32_t)':
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp:238: warning: control reaches end of non-void function
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp: In member function 'bool NexRtc::write_rtc_time(uint32_t*)':
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp:123: warning: control reaches end of non-void function
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp: In member function 'bool NexRtc::write_rtc_time(char*)':
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexRtc.cpp:72: warning: control reaches end of non-void function
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexScrolltext.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexScrolltext.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexSlider.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexSlider.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexText.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexText.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexTimer.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexTimer.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexTouch.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexTouch.cpp.o

C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\utility C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexUpload.cpp -o C:\Users\me\AppData\Local\Temp\build6697102033049022482.tmp\ITEADLIB_Arduino_Nextion-master\NexUpload.cpp.o

In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexUpload.cpp:16:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\/NexUpload.h:19:17: warning: SPI.h: No such file or directory
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\/NexUpload.h:20:16: warning: SD.h: No such file or directory
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexUpload.cpp:17:28: warning: SoftwareSerial.h: No such file or directory
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexUpload.cpp:16:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\/NexUpload.h:133: error: 'File' does not name a type
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexUpload.cpp: In member function 'bool NexUpload::_checkFile()':
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexUpload.cpp:91: error: 'SD' was not declared in this scope
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexUpload.cpp:96: error: 'SD' was not declared in this scope
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexUpload.cpp:100: error: '_myFile' was not declared in this scope
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexUpload.cpp:100: error: 'SD' was not declared in this scope
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexUpload.cpp: In member function 'bool NexUpload::_downloadTftFile()':
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexUpload.cpp:210: error: '_myFile' was not declared in this scope
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master\NexUpload.cpp:224: error: '_myFile' was not declared in this scope

 

cpp
txt
(7 Bytes)
h
(2.95 KB)
h
(1.28 KB)

Brandon, just for now delete NexUpload.h and NexUpload.cpp

 Ok Tried that and then retrid to upload...GOt the following error....Also noticed that the unzipped Library is locked to READ ONLY...I tried to uncheck the box but once i close the window after clicking apply it reverts back to read only. not sure if this matters but it may.


Error Code


Arduino: 1.0.6 (Windows 7), Board: "Arduino Mega 2560 or Mega ADK"
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega2560 -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -IC:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino -IC:\Program Files (x86)\Arduino\hardware\arduino\variants\mega -IC:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master C:\Users\me\AppData\Local\Temp\build3697632506294347186.tmp\sketch_jan23a.cpp -o C:\Users\me\AppData\Local\Temp\build3697632506294347186.tmp\sketch_jan23a.cpp.o

In file included from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:22:22: error: NexTouch.h: No such file or directory
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:23,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexHardware.h:44: error: variable or field 'nexLoop' declared void
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexHardware.h:44: error: 'NexTouch' was not declared in this scope
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexHardware.h:44: error: 'nex_listen_list' was not declared in this scope
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexHardware.h:44: error: expected primary-expression before ']' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:25,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexButton.h:36: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:26,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexCrop.h:31: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:27,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexGauge.h:31: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:28,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexHotspot.h:31: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:29,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexPage.h:32: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:30,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexPicture.h:31: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:31,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexProgressBar.h:31: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:32,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexSlider.h:31: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:33,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexText.h:31: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:34,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexWaveform.h:30: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:35,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexTimer.h:35: error: expected class-name before '{' token
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexTimer.h:52: error: 'NexTouchEventCb' has not been declared
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:36,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexNumber.h:31: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:37,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexDualStateButton.h:37: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:38,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexVariable.h:36: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:39,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexCheckbox.h:36: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:40,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexRadio.h:36: error: expected class-name before '{' token
In file included from C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:41,
  from sketch_jan23a.ino:2:
C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/NexScrolltext.h:31: error: expected class-name before '{' token
sketch_jan23a:4: error: expected constructor, destructor, or type conversion before '*' token
sketch_jan23a.ino: In function 'void loop()':
sketch_jan23a:16: error: 'nex_listen_list' was not declared in this scope
sketch_jan23a:16: error: 'nexLoop' was not declared in this scope

The first lines after compiler options


In file included from sketch_jan23a.ino:2:

C:\Users\me\Documents\Arduino\libraries\ITEADLIB_Arduino_Nextion-master/Nextion.h:22:22: error: NexTouch.h: No such file or directory


tells you the Library isn't being found.


Login or Signup to post a comment