B4R Question \Adafruit_ADS1015.cpp not found

Hans- Joachim Krahe

Active Member
Licensed User
Longtime User
#include "Adafruit_ADS1015.h" Adafruit_ADS1015 ads;


Error: "\Adafruit_ADS1015.cpp:21:30: fatal error: Adafruit_ADS1015.h: No such file or directory"

I copied it into internal library folder. Can anyone comprehend it? Are there more necessary specificationes?


thanks to all
 

hatzisn

Expert
Licensed User
Longtime User
Have you installed it in Arduino software?
 
Upvote 0

Hans- Joachim Krahe

Active Member
Licensed User
Longtime User
Moved to the questions forum.
... what does it mean? Is the problem wellknown? In earlier versions, I did'nt have this problem, but don't know, if the critical change is in b4r or arduino ide. The Error: "\Adafruit_ADS1015.cpp:21:30: fatal error: Adafruit_ADS1015.h: No such file or directory" is probably shown in b4r, but imported from IDE?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
1. You have posted this thread in B4R Libraries forum. Only actual libraries should be posted there.

2. Never add files to the internal libraries folder unless the instructions specifically say so.

3. The internal libraries folder is not searched for anything during compilation.

You can install the library with Arduino IDE and change the include command to use <Adafruit_ADS1015.h> instead of "Adafruit_ADS1015.h" or include the files inside the folder of one of the already referenced libraries. This way it will be copied to the project folder during compilation.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…