Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

glfwCreateThread() - doesn't work with class method

Using GLFW
Anonymous
2013-01-20
2013-03-19

  • Anonymous
    2013-01-20

    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(<unresolved overloaded="" function="" type="">)

    My compiler is MinGW.

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

    Thank you.

     
  • Camilla Löwy
    Camilla Löwy
    2013-03-19

    This is not a problem with GLFW.