glfwCreateThread() - doesn't work with class method

anonymous wrote on Sunday, January 20, 2013:

Hello people. glfwCreateThread() - doesn’t work with class method.

I have code:

Thread::Thread(GLFWthreadfun func)
{
threadID = glfwCreateThread(func, NULL);
}

And I have error:
error: no matching function for call to 'Thread::Thread()

My compiler is MinGW.

What have I to do? Please advise a solution. I do not speak english because forgive me mistakes.

Thank you.

elmindreda wrote on Tuesday, March 19, 2013:

This is not a problem with GLFW.