Okay, I added those libraries, and now I’m getting different errors…
I’m not sure what it means by “TouchScreen does not name a type” but I have the touchscreen library in the library folder.
Here are the errors. Any ideas on these now?
UI_ArduinoPhone.cpp:32: error: ‘TouchScreen’ does not name a type
UI_ArduinoPhone.cpp: In member function ‘unsigned char UI_ArduinoPhone::getTouch(unsigned char*)’:
UI_ArduinoPhone.cpp:497: error: ‘Point’ was not declared in this scope
UI_ArduinoPhone.cpp:497: error: expected ;' before 'p' UI_ArduinoPhone.cpp:499: error: 'p' was not declared in this scope UI_ArduinoPhone.cpp:502: error: '__PRESURE' was not declared in this scope UI_ArduinoPhone.cpp:507: error: '__PRESURE' was not declared in this scope UI_ArduinoPhone.cpp: In member function 'bool UI_ArduinoPhone::isTouch()': UI_ArduinoPhone.cpp:550: error: 'Point' was not declared in this scope UI_ArduinoPhone.cpp:550: error: expected ;’ before ‘p’
UI_ArduinoPhone.cpp:551: error: ‘p’ was not declared in this scope
UI_ArduinoPhone.cpp:551: error: ‘__PRESURE’ was not declared in this scope
UI_ArduinoPhone.cpp: In member function ‘int UI_ArduinoPhone::touchMainPage()’:
UI_ArduinoPhone.cpp:574: error: ‘Point’ was not declared in this scope
UI_ArduinoPhone.cpp:574: error: expected ;' before 'p' UI_ArduinoPhone.cpp:576: error: 'p' was not declared in this scope UI_ArduinoPhone.cpp:578: error: '__PRESURE' was not declared in this scope UI_ArduinoPhone.cpp: In member function 'bool UI_ArduinoPhone::getTouchRect(int, int, int, int)': UI_ArduinoPhone.cpp:624: error: 'Point' was not declared in this scope UI_ArduinoPhone.cpp:624: error: expected ;’ before ‘p’
UI_ArduinoPhone.cpp:626: error: ‘p’ was not declared in this scope
UI_ArduinoPhone.cpp:629: error: ‘__PRESURE’ was not declared in this scope
UI_ArduinoPhone.cpp: In member function ‘unsigned char UI_ArduinoPhone::getMsgInputState()’:
UI_ArduinoPhone.cpp:858: error: ‘Point’ was not declared in this scope
UI_ArduinoPhone.cpp:858: error: expected `;’ before ‘p’
UI_ArduinoPhone.cpp:859: error: ‘p’ was not declared in this scope
UI_ArduinoPhone.cpp:859: error: ‘__PRESURE’ was not declared in this scope
UI_ArduinoPhone.cpp:860: error: ‘p’ was not declared in this scope