My QT version is the latest, 5.3. and MS VS Express is 2013. When I tried to build CloudCompare, I met following errors.
6>------ Build started: Project: QCC_DB_LIB, Configuration: Debug x64 ------
6> cc2DLabel.cpp
6>D:\Qt\5.3\msvc2013_64\include\QtANGLE\GLES2/gl2.h(96): warning C4005: 'GL_BLEND_EQUATION_RGB' : macro redefinition
6> F:\Work\Project-CloudCompare\trunk-cc\libs\Glew\include\GL/glew.h(1707) : see previous definition of 'GL_BLEND_EQUATION_RGB'
6>D:\Qt\5.3\msvc2013_64\include\QtANGLE\GLES2/gl2.h(474): error C2365: '__glewActiveTexture' : redefinition; previous definition was 'data variable'
6> F:\Work\Project-CloudCompare\trunk-cc\libs\Glew\include\GL/glew.h(14274) : see declaration of '__glewActiveTexture'
6>D:\Qt\5.3\msvc2013_64\include\QtANGLE\GLES2/gl2.h(475): error C2365: '__glewAttachShader' : redefinition; previous definition was 'data variable'
6> F:\Work\Project-CloudCompare\trunk-cc\libs\Glew\include\GL/glew.h(14389) : see declaration of '__glewAttachShader'
6>D:\Qt\5.3\msvc2013_64\include\QtANGLE\GLES2/gl2.h(476): error C2365: '__glewBindAttribLocation' : redefinition; previous definition was 'data variable'
6> F:\Work\Project-CloudCompare\trunk-cc\libs\Glew\include\GL/glew.h(14390) : see declaration of '__glewBindAttribLocation'
Does anyone know why these errors happen? My cmake version is also latest one, 3.1. I deselected any other option before generating building files.
Thanks.
Build with MS Visual Studio Express 2013
Re: Build with MS Visual Studio Express 2013
I think the issue comes from Qt Angle. You should use Qt with OpenGL instead.
See http://qt-project.org/wiki/Qt-5-on-Wind ... and-OpenGL
See http://qt-project.org/wiki/Qt-5-on-Wind ... and-OpenGL
Daniel, CloudCompare admin
Re: Build with MS Visual Studio Express 2013
Thanks to Daniel, I found Qt5 version supporting OpenGL. For the beginners of QT like me, I attached the captured images.
Just find additional downloads, and download Qt 5.3.2 for windows 64-bit(VS2013, OpenGL,...)
Thanks.
Just find additional downloads, and download Qt 5.3.2 for windows 64-bit(VS2013, OpenGL,...)
Thanks.
Re: Build with MS Visual Studio Express 2013
Thanks, I've updated the compilation instructions on the wiki as well!
Daniel, CloudCompare admin