Class not being recognized but include file is there

I am attempting to use the Seeed touch screen and display. I have included the two h files but the class POINT is not recognized.

Arduino: 1.5.7 (Windows 7), Board: "Arduino Uno"

Build options changed, rebuilding all

Using library SPI in folder: C:\Program Files\Arduino\hardware\arduino\avr\libraries\SPI (legacy)

Using library TFT_Touch_Shield_V2 in folder: C:\Program Files\Arduino\libraries\TFT_Touch_Shield_V2 (legacy)

Using library Touch_Screen_Driver in folder: C:\Program Files\Arduino\libraries\Touch_Screen_Driver (legacy)

C:\Program Files\Arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=157 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR -IC:\Program Files\Arduino\hardware\arduino\avr\cores\arduino -IC:\Program Files\Arduino\hardware\arduino\avr\variants\standard -IC:\Program Files\Arduino\hardware\arduino\avr\libraries\SPI -IC:\Program Files\Arduino\libraries\TFT_Touch_Shield_V2 -IC:\Program Files\Arduino\libraries\Touch_Screen_Driver C:\Users\WILLIA~1\AppData\Local\Temp\build7664510992943405378.tmp\DisplayTest.cpp -o C:\Users\WILLIA~1\AppData\Local\Temp\build7664510992943405378.tmp\DisplayTest.cpp.o

DisplayTest.ino: In function 'char ScanTouch()':
DisplayTest.ino:160:3: error: 'POINT' was not declared in this scope
DisplayTest.ino:160:15: error: expected ';' before 'pPoint'
DisplayTest.ino:166:3: error: 'pPoint' was not declared in this scope

I have attached the file. both libraries are installed in correct folder and if I attempt to compile the example it works.


DisplayTest.ino (5.42 KB)

Hi Bill

Try "Point" instead of "POINT" ...

static char ScanTouch( void )
  INT8U          nIdx;
  char           cBtn;
  BTNDEF const * ptBtn;
  Point       pPoint;