Help with the Error

When I'm trying painless mesh network on ESP32 I'm getting this error,
anyone can help please?

compilation terminated.
exit status 1
Error compiling for board SparkFun ESP32 Thing.
[/color]

Please include the entire error message. It is easy to do. There is a button (lower right of the IDE window) called "copy error message". Copy the error and paste into a post in code tags. Paraphrasing the error message leaves out important information.

Read the how to use this forum-please read sticky to see how to properly post code. Remove useless white space and format the code with the IDE autoformat tool (crtl-t or Tools, Auto Format) before posting code. If the code is too large to post it can be attached.

Board: "SparkFun ESP32 Thing, 80MHz, Default, 256000, None"
exit status 1
Error compiling for board SparkFun ESP32 Thing.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Without the more information I doubt that anyone can help you. Enable verbose output during compilation, compile the code (verify) and post the results in code tags like described in the guidelines (linked above).

#include <painlessMesh.h>
#define MESH_PREFIX “ABCD”
#define MESH_PASSWORD “12345”
#define MESH_PORT 5555
Scheduler userScheduler;
painlessMesh mesh;

void sendMessage() ;
Task taskSendMessage( TASK_SECOND * 1 , TASK_FOREVER, &sendMessage );

void sendMessage() {
String msg = "Hello from node ";
msg += mesh.getNodeId();
mesh.sendBroadcast( msg );
taskSendMessage.setInterval( random( TASK_SECOND * 1, TASK_SECOND * 5 ));
}

void receivedCallback( uint32_t from, String &msg ) {
Serial.printf(“startHere: Received from %u msg=%s\n”, from, msg.c_str());
}

void newConnectionCallback(uint32_t nodeId) {
Serial.printf("–> startHere: New Connection, nodeId = %u\n", nodeId);
}

void changedConnectionCallback() {
Serial.printf(“Changed connections %s\n”,mesh.subConnectionJson().c_str());
}

void nodeTimeAdjustedCallback(int32_t offset) {
Serial.printf(“Adjusted time %u. Offset = %d\n”, mesh.getNodeTime(),offset);
}

void setup() {
Serial.begin(115200);

mesh.setDebugMsgTypes( ERROR | STARTUP );
mesh.init( MESH_PREFIX, MESH_PASSWORD, &userScheduler, MESH_PORT );
mesh.onReceive(&receivedCallback);
mesh.onNewConnection(&newConnectionCallback);
mesh.onChangedConnections(&changedConnectionCallback);
mesh.onNodeTimeAdjusted(&nodeTimeAdjustedCallback);

userScheduler.addTask( taskSendMessage );
taskSendMessage.enable();
}

void loop() {
userScheduler.execute(); // it will run mesh scheduler as well
mesh.update();
}