Error compiling for board Arduino Mega or Mega 2560. Adafruit_GFX

can't compile whit ,
#include <Adafruit_GFX.h> // Core graphics library
#include <Adafruit_TFTLCD.h> // Hardware-specific library
^~~~~~~~~~~~~~~~~~~

compilation terminated.

exit status 1
Error compiling for board Arduino Mega or Mega 2560.

Post the program code that generates that error. Read the forum guidelines to see how to properly post code and some good information on making a good post.
Use the IDE autoformat tool (ctrl-t or Tools, Auto format) before posting code in code tags.

Please include the entire error message. It is easy to do. There is a button (lower right of the IDE window) called "copy error message". Copy the error and paste into a post in code tags. Paraphrasing the error message leaves out important information.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.