Hey everyone. I’m new to the forum and new to Arduino. I know this has been asked time and time again, so please don’t bash me, I’m having problems with the libraries for the wiki site. I’m getting a lot of error messages and really can’t find and explanation what they mean and why I’m getting them. Thanks for any advice.
In file included from TFT.cpp:23:
TFT.h:23:22: error: WProgram.h: No such file or directory
TFT.cpp: In member function ‘unsigned char TFT::getData()’:
TFT.cpp:48: error: ‘delay’ was not declared in this scope
TFT.cpp: In member function ‘void TFT::init()’:
TFT.cpp:133: error: ‘delay’ was not declared in this scope
TFT.cpp: In member function ‘void TFT::exitStandBy()’:
TFT.cpp:239: error: ‘delay’ was not declared in this scope
TFT.cpp: In member function ‘void TFT::drawLine(unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)’:
TFT.cpp:311: error: ‘abs’ was not declared in this scope
This looks like a library written pre-Arduino 1.0, but using Arduino 1.0. The fix is usually to change the #include <WProgram.h> to <Arduino.h>