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.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks