QT build question
Posted: Tue Apr 19, 2016 12:59 am
when I finish cmake with QT,then I try to compile the code by QT5.5.1,but An error occures in the end,it is:
E:\study\CloudCompare\trunk-2.6.2\trunk-2.6.2\libs\qCC_glWindow\ccGLWindow.cpp:605: error: C2664: “void (GLDEBUGPROC,void *)”: cannot convert param1 from“void (__cdecl *)(GLenum,GLenum,GLuint,GLenum,GLsizei,const GLchar *,GLvoid *)”to“GLDEBUGPROC”
then I click on the error message,it turns to this line
605 glDebugMessageCallback(&GLDebugCallback, this);//ccGLWindow.cpp
is there any problem in this line????
I need your help
E:\study\CloudCompare\trunk-2.6.2\trunk-2.6.2\libs\qCC_glWindow\ccGLWindow.cpp:605: error: C2664: “void (GLDEBUGPROC,void *)”: cannot convert param1 from“void (__cdecl *)(GLenum,GLenum,GLuint,GLenum,GLsizei,const GLchar *,GLvoid *)”to“GLDEBUGPROC”
then I click on the error message,it turns to this line
605 glDebugMessageCallback(&GLDebugCallback, this);//ccGLWindow.cpp
is there any problem in this line????
I need your help