Skip to content

Include <Adafruit_Sensor.h> error #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
good-vi opened this issue Feb 12, 2017 · 9 comments
Closed

Include <Adafruit_Sensor.h> error #72

good-vi opened this issue Feb 12, 2017 · 9 comments

Comments

@good-vi
Copy link

good-vi commented Feb 12, 2017

Add Adafruit_Sensor.h in to the DHT sensor library. To avoid the issue of beginners.

@torabian
Copy link

I am having this issue. I've addded DHT but my build fails, since this file is not found. How can I do that?

@torabian
Copy link

I am trying to copy the file manually intodht sensor folder in my travis build hope to get results from there.

@idelara
Copy link

idelara commented Jul 16, 2017

@torabian You have to manually copy and paste the file called "Adafruit_Sensor.h" from the repo @ViktorKovalev3 mentioned. Download (or clone) the repo, go to your Arduino library folder, locate the DHT library folder, and copy such file there.

@jimsy3
Copy link

jimsy3 commented Jul 23, 2017

i just installed somekind of Unified Sensors library(by adafruit) and then it worked for me

@ghost
Copy link

ghost commented Oct 12, 2017

i need a help please, when i put to work this code this appear in IDH arduino:"Adafruit_Sensor.h: no such file or directory " what i can make ?

@Jotschi
Copy link

Jotschi commented Nov 19, 2017

@rafagildin You need to download and install the https://github.com/adafruit/Adafruit_Sensor library as well.

@LRagji
Copy link

LRagji commented Apr 20, 2019

This is still a pain, not sure why was this closed Library management in arduino has not reached full potential of other package managers like npm where dependencies of dependencies are installed automatically for a new comer its still going to be a problem as the library is not available in library manager in arduino

@ladyada
Copy link
Member

ladyada commented Apr 20, 2019

you can comment here to support Arduino's efforts
arduino/Arduino#8600

@lekimtek
Copy link

lekimtek commented Nov 4, 2021

Same problem in PlatfomIO, I resolved by copy this in sketch.ino;
#include <Adafruit_Sensor.h>
this resolve problem.
I dont now happens this, because "#include <Adafruit_Sensor.h>" is in the library but not link wen compiling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants