xxxxx does not name a type

I installed neonextion library cause of missing function im a newbie trying to finish my project of temp and humidity sensor hoping someone would help me of my program cause i dont know what to do now.
(here are were the problems occur)

#include "Nextion.h"
#include<SoftwareSerial.h>
#include <cactus_io_AM2302.h>
#define pinA1 23
#define pinA2 25
#define pinA3 27
#define pinB1 29
#define pinB2 31
#define pinB3 33
#define pinC1 35
#define pinC2 37
#define pinC3 39
#define pinD1 41
#define pinD2 43
#define pinD3 45
#define relayValveA 22
#define relayValveB 24
#define relayValveC 26
#define relayValveD 28
#define SSRPump 38
#define inFan 34
#define outFan 36
AM2302 dhtA1(pinA1); AM2302 dhtA2(pinA2); AM2302 dhtA3(pinA3);
AM2302 dhtB1(pinB1); AM2302 dhtB2(pinB2); AM2302 dhtB3(pinB3);
AM2302 dhtC1(pinC1); AM2302 dhtC2(pinC2); AM2302 dhtC3(pinC3);
AM2302 dhtD1(pinD1); AM2302 dhtD2(pinD2); AM2302 dhtD3(pinD3);
float secHumid, secTemp;
int intHumid, intTemp, currentState, pumpState, intakeState, outtakeState, valveA, valveB, valveC, valveD, flagPump;
uint32_t secData;

float theHumid, theTemp;
String d;
float humidA, humidB, humidC, humidD, humidAll;
float tempA, tempB, tempC, tempD, tempAll;
int intHumidA, intHumidB, intHumidC, intHumidD, intHumidAll;
int inttempA, inttempB, inttempC, inttempD, inttempAll;
int countingSMS = 0;

SoftwareSerial mySerial (10, 11);

NexNumber humidNum = NexNumber(1, 5, "n0");
NexNumber tempNum = NexNumber(1, 6, "n1");
NexNumber secNum = NexNumber(1, 15, "n2");
NexText pumpText = NexText(1, 17, "t0");
NexText intakeText = NexText(1, 18, "t1");
NexText outtakeText = NexText(1, 19, "t2");
NexText valveAText = NexText(1, 20, "t3");
NexText valveBText = NexText(1, 21, "t4");
NexText valveCText = NexText(1, 22, "t5");
NexText valveDText = NexText(1, 23, "t6");
NexPicture manualPic = NexPicture(1, 16, "p12");
NexPicture pumpPic = NexPicture(2, 1, "p0");
NexPicture backPic = NexPicture(2, 6, "p5");

NexTouch *nex_listen_list[] = {
  &manualPic,
  &pumpPic,
  &backPic,
  NULL
};
Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

MUSHROOM:41: error: 'NexNumber' does not name a type

 NexNumber humidNum = NexNumber(1, 5, "n0");

 ^

MUSHROOM:42: error: 'NexNumber' does not name a type

 NexNumber tempNum = NexNumber(1, 6, "n1");

 ^

MUSHROOM:43: error: 'NexNumber' does not name a type

 NexNumber secNum = NexNumber(1, 15, "n2");

 ^

MUSHROOM:44: error: 'NexText' does not name a type

 NexText pumpText = NexText(1, 17, "t0");

 ^

MUSHROOM:45: error: 'NexText' does not name a type

 NexText intakeText = NexText(1, 18, "t1");

 ^

MUSHROOM:46: error: 'NexText' does not name a type

 NexText outtakeText = NexText(1, 19, "t2");

 ^

MUSHROOM:47: error: 'NexText' does not name a type

 NexText valveAText = NexText(1, 20, "t3");

 ^

MUSHROOM:48: error: 'NexText' does not name a type

 NexText valveBText = NexText(1, 21, "t4");

 ^

MUSHROOM:49: error: 'NexText' does not name a type

 NexText valveCText = NexText(1, 22, "t5");

 ^

MUSHROOM:50: error: 'NexText' does not name a type

 NexText valveDText = NexText(1, 23, "t6");

 ^

MUSHROOM:51: error: 'NexPicture' does not name a type

 NexPicture manualPic = NexPicture(1, 16, "p12");

 ^

MUSHROOM:52: error: 'NexPicture' does not name a type

 NexPicture pumpPic = NexPicture(2, 1, "p0");

 ^

MUSHROOM:53: error: 'NexPicture' does not name a type

 NexPicture backPic = NexPicture(2, 6, "p5");

 ^

MUSHROOM:55: error: 'NexTouch' does not name a type

 NexTouch *nex_listen_list[] = {

 ^

C:\Users\owner\Desktop\programing thesis\MUSHROOM (android-ardiuno-nextion)\MUSHROOM\MUSHROOM.ino: In function 'void setup()':

MUSHROOM:83: error: 'manualPic' was not declared in this scope

   manualPic.attachPop(manualPicPopCallback, &manualPic);

     ^

exit status 1
'NexNumber' does not name a type

------------------------------------------------------------------------------------------------------.txt (664 Bytes)

Please post a complete program and the full error message

Start here

UKHeliBob:
Please post a complete program and the full error message

sorry sir modified it

hi im a newbie praticing arduino in mushroom cultivating but i encountered an error that i cant figure it out i hope someone can help me
(error message)

functionA:8: error: 'pumpText' was not declared in this scope

     pumpText.setText("0"); valveAText.setText("1");

     ^

functionA:8: error: 'valveAText' was not declared in this scope

     pumpText.setText("0"); valveAText.setText("1");

                            ^

functionA:13: error: 'pumpText' was not declared in this scope

     pumpText.setText("1"); valveAText.setText("0");

     ^

functionA:13: error: 'valveAText' was not declared in this scope

     pumpText.setText("1"); valveAText.setText("0");

(Program)

void functionA() {
  theHumid = dhtA1.humidity + dhtA2.humidity + dhtA3.humidity;
  theTemp = dhtA1.temperature_C + dhtA2.temperature_C + dhtA3.temperature_C;
  mySerial.print(theHumid); mySerial.print("\t"); mySerial.println(theTemp);
  //  theTemp = 30;
  if (theTemp <= 27) {
    mySerial.println("PUMP OFF & VALVE ON");
    pumpText.setText("0"); valveAText.setText("1");
    pumpState = 0; valveA = 1;
    digitalWrite(SSRPump, LOW); digitalWrite(relayValveA, HIGH);
  } else if (theTemp >= 30) {
    mySerial.println("PUMP ON & VALVE OFF");
    pumpText.setText("1"); valveAText.setText("0");
    pumpState = 1; valveA = 0;
    digitalWrite(SSRPump, HIGH); digitalWrite(relayValveA, LOW);
  }
}

All those variables are missing or in the wrong scope, in the code you didn't post

Can you post your sketch using code tags?

Very similar question posted here.

Please read this, and then get back to us.

Threads merged.

AWOL:
Please read this, and then get back to us.

read it so what do i do know

We don't know what you know, which is why we ask you to post as much information as possible

(deleted)