[webkit-help] Webkit2 with WebGL

Naiem Shaik naiem.shaik at gmail.com
Mon May 16 22:41:41 PDT 2011


Hi,
install mesa opengl library.

@Naiem

> Hello All,
>             I am trying to build Webkit2 by enabling WebGL, assuming WebGL
> is supported in WebKit2 but encountered with below error:
> GEN    generate-webkit2-forwarding-headers
>
>  GEN    generate-webkit2-forwarding-headers
>
>  GEN    generate-minibrowser-forward-headers
>
>  GEN    generate-minibrowser-forward-headers
>
> make  all-am
>
> make[1]: Entering directory `/root/Desktop/rel/src/WebKit'
>
>  CXXLD  Programs/WebKitWebProcess
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glDrawArrays'
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glFrontFace'
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glGetBooleanv'
>
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glColorMask'
>
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glClear'
>
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glDisable'
>
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glViewport'
>
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glXDestroyPbuffer'
>
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glTexImage2D'
>
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glReadPixels'
>
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glPixelStorei'
>
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glGetError'
>
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glXDestroyGLXPixmap'
>
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glDepthMask'
>
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glTexParameterf'
>
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glGetString'
>
>
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glDepthFunc'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glXDestroyContext'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glBlendFunc'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glXMakeCurrent'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glGetTexParameterfv'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glIsTexture'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glCopyTexImage2D'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glScissor'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glEnable'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to
> `glXMakeContextCurrent'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glStencilMask'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glGetIntegerv'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glHint'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glDrawElements'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glStencilFunc'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glClearDepth'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glStencilOp'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glXCreateContext'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glBindTexture'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glXCreateGLXPixmap'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glXCreateNewContext'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glCullFace'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glGetTexParameteriv'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glXCreatePbuffer'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glDeleteTextures'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glTexParameteri'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glXChooseFBConfig'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glGenTextures'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glIsEnabled'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glFlush'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glXChooseVisual'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glClearColor'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glCopyTexSubImage2D'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glPolygonOffset'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glTexSubImage2D'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glDepthRange'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glGetFloatv'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glLineWidth'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glClearStencil'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to
> `glXGetCurrentContext'
> ./.libs/libwebkit2gtk-1.0.so: undefined reference to `glFinish'
> collect2: ld returned 1 exit status
> make[1]: *** [Programs/WebKitWebProcess] Error 1
> make[1]: Leaving directory `/root/Desktop/rel/src/WebKit'
>
>
> Looking at the error i think its referencing GL calls but unable to find
> it,
> please guide me to know the exact problem. Is WebGL supported in Webkit2 ??
> Do i need to have some OpenGLES library installed and link it??
>
> Regards,
> Umesh
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.webkit.org/pipermail/webkit-help/attachments/20110516/c31d6922/attachment-0001.html
> >
>
> ------------------------------
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20110517/6bff8482/attachment.html>


More information about the webkit-help mailing list