Build with MS Visual Studio Express 2013
Posted: Sun Sep 14, 2014 10:30 pm
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.
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.