ide problem

hello friend actually I am beginner to arduino and I am using arduino uno r3 and the problem I am facing is that I am able to upload programs like blink ,sweep but the programs which I have put in sketch which is motor test is not being upload to the board and it is showing an error

Arduino: 1.6.4 (Windows 8.1), Board: "Arduino Uno"

Build options changed, rebuilding all

MotorTest.pde:5:21: fatal error: AFMotor.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.

please help me

Where did you download the AFMotor library to?

I downloaded it on the desktop and then I added it to ide and then included it in the ide

Where [u]exactly[/u] is the AFMotor folder ? Did you stop/start the IDE after installing the library ? How have you #included the library in your program ?

yeah it is in C:\Program Files\Arduino\libraries. first of all I downloaded a zip file in the desktop then I added it the library from sketch option in the menu bar and then included it in the library from the same option

it is in C:\Program Files\Arduino\libraries.

User contributed libraries are meant to go in the libraries folder of the sketches folder so that they remain available when the IDE is upgraded.

What is the name of the AFMotor library folder and the names of the files that it contains ?

AFMOTORS.PDE AFMOTORS.TXT EXAMPLES README.TXT KEYWORDS .TXT

Hi, What is the folder name that those 5 files are in?

Can you please post a copy of your sketch, using code tags? Please use code tags.. See section 7 http://forum.arduino.cc/index.php/topic,148850.0.html

Tom.... :)

they are in afmotor named folder and please tell sketch of what do you want

rishabhmahajan: they are in afmotor named folder and please tell sketch of what do you want

You need to be really exact about the folder and filenames. Upper/lowercase matters and the folder name must match that of the .h and .cpp files exactly.

As to the files you say you do have, no wonder you get the error message

MotorTest.pde:5:21: fatal error: AFMotor.h: No such file or directory

Do you actually have the file anywhere and if so, where ?