.h: No such file or directory

I am having the a MicroLCD.h: No such file or directory error constantaly show up on any sketch I try to use. with the [u]MicroLCD[/u].h: No such file or directory being which ever the sketch is I am working with.

I have uninstalled the Arduino program and deleted all files i could find associated with Arduino then re downloaded it from the Arduino.cc web site. I the tested the example sketches which are installed with the Arduino program which work. The problem comes when I try to install a sketch or add a library then I restart the program and try an example sketch which then I receive the error.

I am using the Arduino 1.6.2 program.

I have tried going to Sketch - Include Library - Add .Zip Library- then I select the Zip Library which then the Arduino program incorporates the file automatically. I then restart the program then try one of the Library examples when I verify i it then give me the error.

I have also tried unzipping the file on my own and adding it manually which I still receive the same errors. it is not Library specific it happen with all of the ones I try to use.

Below is the Error message I am getting with every sketch I try to add.

Any Ideas on this???

Arduino: 1.6.2 (Windows Vista), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Using library Wire in folder: C:\Users\Combs Desktop\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.2\libraries\Wire

C:\Users\Combs Desktop\AppData\Roaming\Arduino15\packages\arduino\tools\avr-gcc\4.8.1-arduino2/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10602 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR -IC:\Users\Combs Desktop\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.2\cores\arduino -IC:\Users\Combs Desktop\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.2\variants\mega -IC:\Users\Combs Desktop\AppData\Roaming\Arduino15\packages\arduino\hardware\avr\1.6.2\libraries\Wire C:\Users\COMBSD~1\AppData\Local\Temp\build6760278545952814415.tmp\lcdhello.cpp -o C:\Users\COMBSD~1\AppData\Local\Temp\build6760278545952814415.tmp\lcdhello.cpp.o

lcdhello.ino:11:22: fatal error: MicroLCD.h: No such file or directory

compilation terminated.

Error compiling.

The MicroLCD.h file is in the MicroLCD library. This is not part of the standard distribution, it is a third party library. You must download it and install it in your libraries folder.

http://arduino.cc/en/guide/libraries

Okay I been though every subject that I could find to help with the error that I get when I compile the code.This is what I am getting.

Arduino: 1.6.4 (Windows 7), Board: “Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)”

drawCircle.ino:16:25: fatal error: TouchScreen.h: No such file or directory
compilation terminated.
Error compiling.

This report would have more information with
“Show verbose output during compilation”
enabled in File > Preferences.

I try every thing and I still get the same code. could someone please tell me what I am missing.

The following is the code for the 2.8 SEED TFT display.

          // Draw Circles - Demonstrate drawCircle and fillCircle APIs
//  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 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 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 

void setup()
{

Tft.init();  //init TFT library

/*  Demo of 
    void drawCircle(int poX, int poY, int r,unsigned int color) and
    void fillCircle(int poX, int poY, int r,unsigned int color);
*/
Tft.drawCircle(100, 100, 30,YELLOW);
Tft.drawCircle(100, 200, 40,CYAN);
Tft.fillCircle(200, 100, 30,RED);
Tft.fillCircle(200, 200, 30,BLUE);
}

void loop()
{
  
}

and here is the TouchScreen header code.

// Touch screen library with X Y and Z (pressure) readings as well
// as oversampling to avoid 'bouncing'
// (c) ladyada / adafruit
// Code under MIT License

class Point {
 public:
  Point(void);
  Point(int16_t x, int16_t y, int16_t z);
  
  bool operator==(Point);
  bool operator!=(Point);

  int16_t x, y, z;
};

class TouchScreen {
 public:
  TouchScreen(uint8_t xp, uint8_t yp, uint8_t xm, uint8_t ym);
  TouchScreen(uint8_t xp, uint8_t yp, uint8_t xm, uint8_t ym, uint16_t rx);

  bool isTouching(void);
  uint16_t pressure(void);
  int readTouchY();
  int readTouchX();
  Point getPoint();
  int16_t pressureThreshhold;

private:
  uint8_t _yp, _ym, _xm, _xp;
  uint16_t _rxplate;
};

could someone please tell me what I am missing.

TouchScreen.h by the look of it.

Do you have the file and if so where is it on your system ?

Thanks for your reply but I figured it out. I copy the TFT.cpp, TFT,h, TouchScreen. h and Cpp to the Arduino\hardware\arduino\avr\libraries then into a folder I created and name TFT and it works.

Why didn't you put them in a folder in the libraries folder in the sketches directory where they belong ?