compilating problem

Hello i have a little problem with error:

WARNING: Category '' in library ArduinoUnit is not valid. Setting to 'Uncategorized'

And my code is here:

#include "Nextion.h"
#include "Arduino.h"
SoftwareSerial HMISerial(10,11);

void okPopCallback(void *ptr);

NexText heslo = NexText(1, 1, "t0");
NexText vp = NexText(1, 17, "t1");
NexButton ok = NexButton(1, 12, "enter");
NexButton zamk = NexButton(3, 5,"b1");

char buffer[100] = {0};

NexTouch *nex_listen_list[] = 
{
    &ok,
    NULL
};

//kontrola správnosti hesla
void okPopCallback(void *ptr)
{

    memset(buffer, 0, sizeof(buffer));
    heslo.getText(buffer ,sizeof(buffer));
    if (strcmp(buffer,"1235"))
    {
      digitalWrite(4, HIGH);
      strcpy(buffer, "OK");
    }else{
      digitalWrite(4, LOW);
      strcpy(buffer, "NE"); 
      }
     vp.setText(buffer); 
}


void setup(void) {
  // put your setup code here, to run once:
  pinMode(4, OUTPUT);
  nexInit();
  ok.attachPop(okPopCallback);
}

void loop(void) {
  // put your main code here, to run repeatedly:
 nexLoop(nex_listen_list);
}

That's only a warning, not an error. It means that in the "ArduinoUnit" library's "library.properties" file, no category has been set.

If there are no other (actual error) messages, there's no problem.

Did you get a message similar to this as well? :-

Sketch uses 1,668 bytes (5%) of program storage space. Maximum is 32,256 bytes.
Global variables use 182 bytes (8%) of dynamic memory, leaving 1,866 bytes for local variables. Maximum is 2,048 bytes.

If so, all is OK. If not, please post the full error message.

There most definitely is another error in your code, which you failed to mention. You haven’t included the “SoftwareSerial” library.

After adding this to your code:-#include <SoftwareSerial.h>it compiles fine.

This is your second thread regarding problems getting your code working. I noticed that you posted almost identical code in this thread:- Error
Why didn’t you just continue that thread, where you were already being helped by AWOL, instead of starting this one and not even showing the real error?

And in future, please also give more information like which board you’re compiling for. I had to find out by trial and error that it was the Mega2560 or other multi-serial board, because Serial2 is used by the “Nextion” library:-#define nexSerial Serial2
If you want people to give their time to help you, make it easy, not hard.