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
QT build question
-
- Posts: 15
- Joined: Thu Feb 25, 2016 11:47 am
Re: QT build question
when I chang the param1 to (GLDEBUGPROC)GLDEBUGCALLBACK,it can build successfully
but when I run the generated CloudCompare.exe,after a while
an error Window appears"CloudCompare.exe has stop working",how shoud I do??
but when I run the generated CloudCompare.exe,after a while
an error Window appears"CloudCompare.exe has stop working",how shoud I do??