TFT Touch Shield Library and Arduino 1.0 IDE

I have seeedstudio touch shield and Arduino MEGA 2560. I changed TFT.h:

#include <Arduino.h>
#include <avr/pgmspace.h>

#ifndef TFT_h
#define TFT_h

#define MEGA

I made these changes based on what I’ve read in this forum to get it to work.

When I try and compile I get the following errors:

TouchScreen/TouchScreen.cpp.o: In function `Point':
/Users/markrichardson/Documents/Arduino/libraries/TouchScreen/TouchScreen.cpp:19: multiple definition of `Point::Point()'
TouchScreen.cpp.o:TouchScreen.cpp:19: first defined here
TouchScreen/TouchScreen.cpp.o: In function `Point':
/Users/markrichardson/Documents/Arduino/libraries/TouchScreen/TouchScreen.cpp:19: multiple definition of `Point::Point()'
TouchScreen.cpp.o:TouchScreen.cpp:19: first defined here
TouchScreen/TouchScreen.cpp.o: In function `Point':
/Users/markrichardson/Documents/Arduino/libraries/TouchScreen/TouchScreen.cpp:23: multiple definition of `Point::Point(int, int, int)'
TouchScreen.cpp.o:TouchScreen.cpp:23: first defined here
TouchScreen/TouchScreen.cpp.o: In function `Point':
/Users/markrichardson/Documents/Arduino/libraries/TouchScreen/TouchScreen.cpp:23: multiple definition of `Point::Point(int, int, int)'
TouchScreen.cpp.o:TouchScreen.cpp:23: first defined here
TouchScreen/TouchScreen.cpp.o: In function `Point::operator==(Point)':
/Users/markrichardson/Documents/Arduino/libraries/TouchScreen/TouchScreen.cpp:29: multiple definition of `Point::operator==(Point)'
TouchScreen.cpp.o:TouchScreen.cpp:29: first defined here
TouchScreen/TouchScreen.cpp.o: In function `Point::operator!=(Point)':
/Users/markrichardson/Documents/Arduino/libraries/TouchScreen/TouchScreen.cpp:33: multiple definition of `Point::operator!=(Point)'
TouchScreen.cpp.o:TouchScreen.cpp:33: first defined here
TouchScreen/TouchScreen.cpp.o: In function `TouchScreen':
/Users/markrichardson/Documents/Arduino/libraries/TouchScreen/TouchScreen.cpp:158: multiple definition of `TouchScreen::TouchScreen(unsigned char, unsigned char, unsigned char, unsigned char)'
TouchScreen.cpp.o:TouchScreen.cpp:158: first defined here
TouchScreen/TouchScreen.cpp.o: In function `TouchScreen':
/Users/markrichardson/Documents/Arduino/libraries/TouchScreen/TouchScreen.cpp:158: multiple definition of `TouchScreen::TouchScreen(unsigned char, unsigned char, unsigned char, unsigned char)'
TouchScreen.cpp.o:TouchScreen.cpp:158: first defined here
TouchScreen/TouchScreen.cpp.o: In function `TouchScreen':
/Users/markrichardson/Documents/Arduino/libraries/TouchScreen/TouchScreen.cpp:169: multiple definition of `TouchScreen::TouchScreen(unsigned char, unsigned char, unsigned char, unsigned char, unsigned int)'
TouchScreen.cpp.o:TouchScreen.cpp:169: first defined here
TouchScreen/TouchScreen.cpp.o: In function `TouchScreen':
/Users/markrichardson/Documents/Arduino/libraries/TouchScreen/TouchScreen.cpp:169: multiple definition of `TouchScreen::TouchScreen(unsigned char, unsigned char, unsigned char, unsigned char, unsigned int)'
TouchScreen.cpp.o:TouchScreen.cpp:169: first defined here
TouchScreen/TouchScreen.cpp.o: In function `TouchScreen::readTouchY()':
/Users/markrichardson/Documents/Arduino/libraries/TouchScreen/TouchScreen.cpp:194: multiple definition of `TouchScreen::readTouchY()'
TouchScreen.cpp.o:TouchScreen.cpp:194: first defined here
TouchScreen/TouchScreen.cpp.o: In function `TouchScreen::readTouchX()':
/Users/markrichardson/Documents/Arduino/libraries/TouchScreen/TouchScreen.cpp:179: multiple definition of `TouchScreen::readTouchX()'
TouchScreen.cpp.o:TouchScreen.cpp:179: first defined here
TouchScreen/TouchScreen.cpp.o: In function `TouchScreen::pressure()':
/Users/markrichardson/Documents/Arduino/libraries/TouchScreen/TouchScreen.cpp:209: multiple definition of `TouchScreen::pressure()'
TouchScreen.cpp.o:TouchScreen.cpp:209: first defined here
TouchScreen/TouchScreen.cpp.o: In function `TouchScreen::getPoint()':
/Users/markrichardson/Documents/Arduino/libraries/TouchScreen/TouchScreen.cpp:51: multiple definition of `TouchScreen::getPoint()'
TouchScreen.cpp.o:TouchScreen.cpp:51: first defined here
TFT/TFT.cpp.o: In function `TFT::all_pin_low()':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:457: multiple definition of `TFT::pushData(unsigned char)'
TFT.cpp.o:TFT.cpp:462: first defined here
TFT/TFT.cpp.o: In function `TFT::sendCommand(unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:57: multiple definition of `TFT::sendCommand(unsigned int)'
TFT.cpp.o:TFT.cpp:55: first defined here
TFT/TFT.cpp.o: In function `TFT::sendData(unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:72: multiple definition of `TFT::sendData(unsigned int)'
TFT.cpp.o:TFT.cpp:72: first defined here
TFT/TFT.cpp.o: In function `TFT::setOrientation(unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:245: multiple definition of `TFT::setOrientation(unsigned int)'
TFT.cpp.o:TFT.cpp:245: first defined here
TFT/TFT.cpp.o: In function `TFT::setXY(unsigned int, unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:259: multiple definition of `TFT::setXY(unsigned int, unsigned int)'
TFT.cpp.o:TFT.cpp:259: first defined here
TFT/TFT.cpp.o: In function `TFT::setPixel(unsigned int, unsigned int, unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:268: multiple definition of `TFT::setPixel(unsigned int, unsigned int, unsigned int)'
TFT.cpp.o:TFT.cpp:268: first defined here
TFT/TFT.cpp.o: In function `TFT::drawCircle(int, int, int, unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:274: multiple definition of `TFT::drawCircle(int, int, int, unsigned int)'
TFT.cpp.o:TFT.cpp:274: first defined here
TFT/TFT.cpp.o: In function `TFT::drawLine(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:310: multiple definition of `TFT::drawLine(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)'
TFT.cpp.o:TFT.cpp:310: first defined here
TFT/TFT.cpp.o: In function `TFT::drawVerticalLine(unsigned int, unsigned int, unsigned int, unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:330: multiple definition of `TFT::drawVerticalLine(unsigned int, unsigned int, unsigned int, unsigned int)'
TFT.cpp.o:TFT.cpp:330: first defined here
TFT/TFT.cpp.o: In function `TFT::fillCircle(int, int, int, unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:291: multiple definition of `TFT::fillCircle(int, int, int, unsigned int)'
TFT.cpp.o:TFT.cpp:291: first defined here
TFT/TFT.cpp.o: In function `TFT::drawHorizontalLine(unsigned int, unsigned int, unsigned int, unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:345: multiple definition of `TFT::drawHorizontalLine(unsigned int, unsigned int, unsigned int, unsigned int)'
TFT.cpp.o:TFT.cpp:345: first defined here
TFT/TFT.cpp.o: In function `TFT::drawRectangle(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:360: multiple definition of `TFT::drawRectangle(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)'
TFT.cpp.o:TFT.cpp:360: first defined here
TFT/TFT.cpp.o: In function `TFT::fillRectangle(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:369: multiple definition of `TFT::fillRectangle(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)'
TFT.cpp.o:TFT.cpp:369: first defined here
TFT/TFT.cpp.o: In function `TFT::drawChar(unsigned char, unsigned int, unsigned int, unsigned int, unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:377: multiple definition of `TFT::drawChar(unsigned char, unsigned int, unsigned int, unsigned int, unsigned int)'
TFT.cpp.o:TFT.cpp:377: first defined here
TFT/TFT.cpp.o: In function `TFT::drawString(char*, unsigned int, unsigned int, unsigned int, unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:399: multiple definition of `TFT::drawString(char*, unsigned int, unsigned int, unsigned int, unsigned int)'
TFT.cpp.o:TFT.cpp:399: first defined here
TFT/TFT.cpp.o: In function `TFT::all_pin_input()':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:420: multiple definition of `TFT::all_pin_input()'
TFT.cpp.o:TFT.cpp:425: first defined here
TFT/TFT.cpp.o: In function `TFT::all_pin_output()':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:439: multiple definition of `TFT::all_pin_output()'
TFT.cpp.o:TFT.cpp:444: first defined here
TFT/TFT.cpp.o: In function `TFT::all_pin_low()':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:457: multiple definition of `TFT::all_pin_low()'
TFT.cpp.o:TFT.cpp:462: first defined here
TFT/TFT.cpp.o: In function `TFT::exitStandBy()':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:236: multiple definition of `TFT::exitStandBy()'
TFT.cpp.o:TFT.cpp:236: first defined here
TFT/TFT.cpp.o: In function `TFT::init()':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:124: multiple definition of `TFT::init()'
TFT.cpp.o:TFT.cpp:124: first defined here
TFT/TFT.cpp.o: In function `TFT::getData()':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:49: multiple definition of `TFT::getData()'
TFT.cpp.o:TFT.cpp:49: first defined here
TFT/TFT.cpp.o: In function `TFT::readRegister(unsigned int)':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:89: multiple definition of `TFT::readRegister(unsigned int)'
TFT.cpp.o:TFT.cpp:89: first defined here
TFT/TFT.cpp.o: In function `TFT::all_pin_low()':
/Users/markrichardson/Documents/Arduino/libraries/TFT/TFT.cpp:457: multiple definition of `Tft'
TFT.cpp.o:TFT.cpp:462: first defined here