[webkit-help] Unable to Build Webkit with WebGL Enabled

ketan goyal goyal8888 at gmail.com
Wed Feb 8 04:00:52 PST 2012


Hi,


I am building webkit with WebGL Enabled in windows for WIN port but i am
getting errors .
One of them is like unable to find declaration of 'validateAttributes'
function in GraphicsContext3D.h as it is defined under MAC and GTK Platform

#if
PLATFORM(MAC) || PLATFORM(GTK)

So i am confused whether it is supported for WIN port or not?
Following are the list of errors i am facing while building.

\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(57) : error C2039:
'validateAttributes' : is not a member of 'WebCore::GraphicsContext3D'

3>
E:\Emulator\Webkit\WebkitCore\BrowserEngine\webkit-gtk\Source\WebCore\platform\graphics\GraphicsContext3D.h(130)
: see declaration of 'WebCore::GraphicsContext3D'

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(59) : error
C3861: 'getExtensions': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(60) : error
C2065: 'm_attrs' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(60) : error
C2228: left of '.stencil' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(64) : error
C2228: left of '.depth' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(66) : error
C2228: left of '.stencil' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(68) : error
C2228: left of '.antialias' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(71) : error
C2039: 'glGetString' : is not a member of '`global namespace''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(71) : error
C2065: 'GL_VENDOR' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(71) : error
C3861: 'glGetString': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(75) : error
C2228: left of '.antialias' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(81) : error
C2039: 'readRenderingResults' : is not a member of
'WebCore::GraphicsContext3D'

3>
E:\Emulator\Webkit\WebkitCore\BrowserEngine\webkit-gtk\Source\WebCore\platform\graphics\GraphicsContext3D.h(130)
: see declaration of 'WebCore::GraphicsContext3D'

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(83) : error
C2065: 'm_currentWidth' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(83) : error
C2065: 'm_currentHeight' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(86) : error
C3861: 'makeContextCurrent': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(89) : error
C2228: left of '.antialias' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(90) : error
C2039: 'glBindFramebufferEXT' : is not a member of '`global namespace''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(90) : error
C2065: 'GL_READ_FRAMEBUFFER_EXT' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(90) : error
C2065: 'm_multisampleFBO' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(90) : error
C3861: 'glBindFramebufferEXT': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(91) : error
C2065: 'GL_DRAW_FRAMEBUFFER_EXT' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(91) : error
C2065: 'm_fbo' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(92) : error
C2039: 'glBlitFramebufferEXT' : is not a member of '`global namespace''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(92) : error
C2065: 'GL_COLOR_BUFFER_BIT' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(92) : error
C2065: 'GL_LINEAR' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(92) : error
C3861: 'glBlitFramebufferEXT': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(93) : error
C2065: 'GL_FRAMEBUFFER_EXT' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(96) : error
C2065: 'm_boundFBO' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(102) : error
C2065: 'GLint' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(102) : error
C2146: syntax error : missing ';' before identifier 'packAlignment'

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(102) : error
C2065: 'packAlignment' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(104) : error
C2039: 'glGetIntegerv' : is not a member of '`global namespace''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(104) : error
C2065: 'GL_PACK_ALIGNMENT' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(104) : error
C3861: 'glGetIntegerv': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(106) : error
C2039: 'glPixelStorei' : is not a member of '`global namespace''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(106) : error
C3861: 'glPixelStorei': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(110) : error
C2039: 'glReadPixels' : is not a member of '`global namespace''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(110) : error
C2065: 'GL_BGRA' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(110) : error
C2065: 'GL_UNSIGNED_INT_8_8_8_8_REV' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(110) : error
C3861: 'glReadPixels': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(133) : error
C2228: left of '.premultipliedAlpha' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(150) : error
C2228: left of '.premultipliedAlpha' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(180) : error
C2065: 'GLuint' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(180) : error
C2146: syntax error : missing ';' before identifier 'colorFormat'

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(180) : error
C2065: 'colorFormat' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(180) : error
C2065: 'internalDepthStencilFormat' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(181) : error
C2228: left of '.alpha' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(182) : error
C2065: 'm_internalColorFormat' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(182) : error
C2065: 'GL_RGBA8' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(183) : error
C2065: 'GL_RGBA' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(185) : error
C2065: 'GL_RGB8' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(186) : error
C2065: 'GL_RGB' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(188) : error
C2228: left of '.stencil' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(188) : error
C2228: left of '.depth' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(195) : error
C2065: 'GL_DEPTH24_STENCIL8_EXT' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(197) : error
C2065: 'GL_DEPTH_COMPONENT' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(203) : error
C2228: left of '.antialias' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(204) : error
C2146: syntax error : missing ';' before identifier 'maxSampleCount'

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(204) : error
C2065: 'maxSampleCount' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(205) : error
C2065: 'GL_MAX_SAMPLES_EXT' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(206) : error
C2146: syntax error : missing ';' before identifier 'sampleCount'

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(206) : error
C2065: 'sampleCount' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(213) : error
C2039: 'glBindRenderbufferEXT' : is not a member of '`global namespace''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(213) : error
C2065: 'GL_RENDERBUFFER_EXT' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(213) : error
C2065: 'm_multisampleColorBuffer' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(213) : error
C3861: 'glBindRenderbufferEXT': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(214) : error
C2039: 'glRenderbufferStorageMultisampleEXT' : is not a member of '`global
namespace''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(214) : error
C3861: 'glRenderbufferStorageMultisampleEXT': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(215) : error
C2039: 'glFramebufferRenderbufferEXT' : is not a member of '`global
namespace''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(215) : error
C2065: 'GL_COLOR_ATTACHMENT0_EXT' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(215) : error
C3861: 'glFramebufferRenderbufferEXT': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(216) : error
C2228: left of '.stencil' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(216) : error
C2228: left of '.depth' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(217) : error
C2065: 'm_multisampleDepthStencilBuffer' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(219) : error
C2228: left of '.stencil' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(220) : error
C2065: 'GL_STENCIL_ATTACHMENT_EXT' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(221) : error
C2228: left of '.depth' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(222) : error
C2065: 'GL_DEPTH_ATTACHMENT_EXT' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(225) : error
C2065: 'GL_FRAMEBUFFER_COMPLETE_EXT' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(225) : error
C3861: 'glCheckFramebufferStatusEXT': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(236) : error
C2039: 'glBindTexture' : is not a member of '`global namespace''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(236) : error
C2065: 'GL_TEXTURE_2D' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(236) : error
C2065: 'm_texture' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(236) : error
C3861: 'glBindTexture': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(237) : error
C2039: 'glTexImage2D' : is not a member of '`global namespace''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(237) : error
C2065: 'GL_UNSIGNED_BYTE' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(237) : error
C3861: 'glTexImage2D': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(238) : error
C2039: 'glFramebufferTexture2DEXT' : is not a member of '`global namespace''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(238) : error
C3861: 'glFramebufferTexture2DEXT': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(239) : error
C2065: 'm_compositorTexture' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(242) : error
C2228: left of '.antialias' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(242) : error
C2228: left of '.stencil' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(242) : error
C2228: left of '.depth' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(243) : error
C2065: 'm_depthStencilBuffer' : undeclared identifier

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(244) : error
C2039: 'glRenderbufferStorageEXT' : is not a member of '`global namespace''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(244) : error
C3861: 'glRenderbufferStorageEXT': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(245) : error
C2228: left of '.stencil' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(247) : error
C2228: left of '.depth' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(251) : error
C3861: 'glCheckFramebufferStatusEXT': identifier not found

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(256) : error
C2228: left of '.antialias' must have class/struct/union

3> type is ''unknown-type''

3>..\platform\graphics\opengl\GraphicsContext3DOpenGL.cpp(263) : error
C2065: 'GLfloat' : undeclared identifier


-- 
Regards
Ketan Goyal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120208/5e1a2cb2/attachment-0001.html>


More information about the webkit-help mailing list