getting errors with lcd

ok i will start off by saying i am new to this i have an arduino uno and a maga 2560. I also have the 2.8" TFT v1.0 Touch shield from seeedstudio now i found some different code on the web but i am getting errors when trying to compile it. I could use some help trying to get it to work. i also am trying to start off with the touchshield demo
here is the one code that i am working with

#include <SPI.h>

// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

#include <stdint.h>
#include <TouchScreen.h>
#include <TFT.h>
#ifdef SEEEDUINO
#define YP A2 // must be an analog pin, use “An” notation!
#define XM A1 // must be an analog pin, use “An” notation!
#define YM 14 // can be a digital pin, this is A0
#define XP 17 // can be a digital pin, this is A3
#endif

#ifdef MEGA
#define YP A2 // must be an analog pin, use “An” notation!
#define XM A1 // must be an analog pin, use “An” notation!
#define YM 54 // can be a digital pin, this is A0
#define XP 57 // can be a digital pin, this is A3
#endif

//Measured ADC values for (0,0) and (210-1,320-1)
//TS_MINX corresponds to ADC value when X = 0
//TS_MINY corresponds to ADC value when Y = 0
//TS_MAXX corresponds to ADC value when X = 240 -1
//TS_MAXY corresponds to ADC value when Y = 320 -1

#define TS_MINX 140
#define TS_MAXX 900

#define TS_MINY 120
#define TS_MAXY 940

// For better pressure precision, we need to know the resistance
// between X+ and X- Use any multimeter to read it
// The 2.8" TFT Touch shield has 300 ohms across the X plate
TouchScreen ts = TouchScreen(XP, YP, XM, YM, 300);

void setup(void) {
Serial.begin(9600);
}

void loop(void) {
// a point object holds x y and z coordinates
Point p = ts.getPoint();

if (p.z > ts.pressureThreshhold) {
Serial.print("Raw X = “); Serial.print(p.x);
Serial.print(”\tRaw Y = “); Serial.print(p.y);
Serial.print(”\tPressure = "); Serial.println(p.z);
}

p.x = map(p.x, TS_MINX, TS_MAXX, 240, 0);
p.y = map(p.y, TS_MINY, TS_MAXY, 320, 0);

// we have some minimum pressure we consider ‘valid’
// pressure of 0 means no pressing!
if (p.z > ts.pressureThreshhold) {
Serial.print("X = “); Serial.print(p.x);
Serial.print(”\tY = “); Serial.print(p.y);
Serial.print(”\tPressure = "); Serial.println(p.z);
}

delay(100);
}
here is the errors i am getting

touchscreendemo:50: error: ‘TouchScreen’ does not name a type
touchscreendemo.ino: In function ‘void loop()’:
touchscreendemo:58: error: ‘Point’ was not declared in this scope
touchscreendemo:58: error: expected `;’ before ‘p’
touchscreendemo:60: error: ‘p’ was not declared in this scope
touchscreendemo:60: error: ‘ts’ was not declared in this scope
touchscreendemo:67: error: ‘p’ was not declared in this scope
touchscreendemo:72: error: ‘ts’ was not declared in this scope

Are you sure you have the Touchscreen library in the Arduino's library directory? And if so, did you close and then reopen the IDE after you added the new library?

I am testing out this same library (seeedstudio with the 2.8 Touchscreen). I had some issues with the code as well. I think you might be missing the TouchScreen Library from adafruit, but it can be downloaded here:

here are instructions on properly installing the libraries (renaming the folder, and where to put it):

I also had some issues with this line in your code (as well as in the examples I found for using the Library):
Point p = ts.getPoint();

it always gave me this error:
error: 'Point' was not declared in this scope

I opened up the library file (TouchScreen.cpp) and found that the .getPoint() method actually looks like this:
TSPoint TouchScreen::getPoint(void) {}

(seems to return a "TSPoint" object and not a "Point" object, so I changed the line in your code to this:
TSPoint p = ts.getPoint();

and it appear to compile now. Let me know if thats what you found as well.