Go Down

Topic: Header file not found  (Read 65 times) previous topic - next topic

Ajioz_

Hello,

I am a newbie in the Arduino world and am trying to do many stuff. I ran into a compilation problem while I was trying to test DHT 11 sensor.

I downloaded a header (zip file)  written by Rob Tilaart, which I uploaded into my Arduino IDE. After restarting the IDE, the file was found in my IDE library.

Thereafter, I called the header as I was asked to do :
See the code below in pix format.

But when I compiled, an error message popped up telling me that a fatal error occurred, no such file exist.

How can I solve this problem?

Anticipating your positive reply, please...

terryking228

Hi, See THIS ABout Libraries

Quote
ERRORS you may see caused by Library problems:
When you try to Verify (Compile) an Arduino sketch you may see error messages like these:
Ultrasonic_Serial.pde:1:24: error: Ultrasonic.h: No such file or directory
Ultrasonic_Serial:4: error: 'Ultrasonic' does not name a type
If you are seeing errors like those, it means a Library the sketch needs cannot be found. This is probably because you never downloaded the needed library, or it was installed incorrectly.
Regards, Terry King terry@yourduino.com  - Check great prices, devices and Arduino-related boards at http://YourDuino.com
HOW-TO: http://ArduinoInfo.Info

Ajioz_

Thanks for your help and positive reply.

May I ask please, can the library be installed differently than this description below :

Sketch /Include Library > Manage Libraries.
Or

Sketch /include Library /add zip file

Theafter, close the IDE and re-open it.

This is what I did.

Please if there is more to do, I would be glad to learn.

Regards

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy