I'm making a program which change the focus of many windows by using a thread.
pthread_t getFocus;
pthread_create ( &getFocus, NULL, returnFocus, NULL );
pthread_join ( getFocus, NULL );
void *returnFocus ( void *argument ) {
return 0;
}
When compiling, I get this error:
undefined reference to _imp__pthread_create
undefined reference to _imp__pthread_join
What should I do to correct this error?