This error means, probably, that you haven't got one or more library that yoir code need. I don't know what library is, but you control to have installed everyone
When I compile it I get LOTs of errors. In general they mean that the "LiquidCrystel_I2C" and "DHT" libraries that I have installed are not the ones the sketch requires.
sketch_jul16a:5: error: 'POSITIVE' was not declared in this scope
LiquidCrystal_I2C lcd(0x27, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE);
^
sketch_jul16a:6: error: no matching function for call to 'DHT::DHT()'
DHT dht;
^
/Users/john/Documents/Arduino/sketch_jul16a/sketch_jul16a.ino:6:5: note: candidates are:
In file included from /Users/john/Documents/Arduino/sketch_jul16a/sketch_jul16a.ino:2:0:
/Users/john/Documents/Arduino/libraries/DHT_sensor_library/DHT.h:40:4: note: DHT::DHT(uint8_t, uint8_t, uint8_t)
DHT(uint8_t pin, uint8_t type, uint8_t count=6);
^
/Users/john/Documents/Arduino/libraries/DHT_sensor_library/DHT.h:40:4: note: candidate expects 3 arguments, 0 provided
/Users/john/Documents/Arduino/libraries/DHT_sensor_library/DHT.h:38:7: note: constexpr DHT::DHT(const DHT&)
class DHT {
^
/Users/john/Documents/Arduino/libraries/DHT_sensor_library/DHT.h:38:7: note: candidate expects 1 argument, 0 provided
/Users/john/Documents/Arduino/libraries/DHT_sensor_library/DHT.h:38:7: note: constexpr DHT::DHT(DHT&&)
/Users/john/Documents/Arduino/libraries/DHT_sensor_library/DHT.h:38:7: note: candidate expects 1 argument, 0 provided
/Users/john/Documents/Arduino/sketch_jul16a/sketch_jul16a.ino: In function 'void setup()':
sketch_jul16a:9: error: 'class DHT' has no member named 'setup'
dht.setup(DHTPin);
^
/Users/john/Documents/Arduino/sketch_jul16a/sketch_jul16a.ino: In function 'void loop()':
sketch_jul16a:14: error: 'class DHT' has no member named 'getTemperature'
float temp = dht.getTemperature();
^
sketch_jul16a:15: error: 'class DHT' has no member named 'getHumidity'
float humi = dht.getHumidity();
^
exit status 1
'POSITIVE' was not declared in this scope
DON'T CROSS POST!!!!!!!!!!!!!!!!!!!! http://forum.arduino.cc/index.php?topic=561092 I HAVE REPORTED THIS THREAD TO THE MODERATORS
This is your fifth thread you've started on this. You've already been told multiple times not to cross post. People have been trying to help you. Why would you do this?
Even if you have never been on a forum before you should know that when people tell you not to do something you shouldn't do it. Especially so when these are the people you're hoping to get free help from.
Ignorance of the rules is no excuse. There is a "How to use this forum - please read." post at the top of every forum section. Clearly you didn't read it. Please do so now: http://forum.arduino.cc/index.php?topic=148850
When I use this int h = DHT.readHumidity(); (I will read now "How to use this forum")
Error is
C:\Users\Steva Markov\AppData\Local\Temp\Rar$DIa0.347\DHT11_LCD\DHT11_LCD.ino: In function 'void loop()':
DHT11_LCD:30: error: 'class dht' has no member named 'readHumidity'
int h = DHT.readHumidity();
^
DHT11_LCD:31: error: 'class dht' has no member named 'readTemperature'
int t = DHT.readTemperature();
^
exit status 1
'class dht' has no member named 'readHumidity'