Changeset 184544 in webkit


Ignore:
Timestamp:
May 18, 2015, 11:05:16 PM (10 years ago)
Author:
Carlos Garcia Campos
Message:

[W32] Fails to build - missing references to OpenGL context functions
https://bugs.webkit.org/show_bug.cgi?id=143769

Patch by Руслан Ижбулатов <lrn1986@gmail.com> on 2015-04-15
Reviewed by Carlos Garcia Campos.

Also use GL-related files when compiling with MinGW
CXXLD libwebkitgtk-3.0.la
./.libs/../source/webcore/platform/graphics/.libs/libplatform_la-graphicscontext3dprivate.o: In function `GraphicsContext3DPrivate':
/src/mingw/webkitgtk-2.4.8-1\bld/../webkitgtk-2.4.8/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp:59: undefined reference to `ZN7WebCore9GLContext14sharingContextEv'
/src/mingw/webkitgtk-2.4.8-1\bld/../webkitgtk-2.4.8/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp:59: undefined reference to `
ZN7WebCore9GLContext22createOffscreenContextEPS0_'
./.libs/../source/webcore/platform/graphics/.libs/libplatform_la-graphicscontext3dprivate.o: In function `platformContext':
/src/mingw/webkitgtk-2.4.8-1\bld/../webkitgtk-2.4.8/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp:84: undefined reference to `ZN7WebCore9GLContext10getCurrentEv'

Becuase GLContext.cpp is not used, which happens because it's
under TARGET_X11_OR_WAYLAND condition in the GNUmakefile.list.am.
Move TARGET_X11_OR_WAYLAND up a bit to free up GLContext.cpp (now
only protected by USE_OPENGL).

  • GNUmakefile.list.am:
Location:
releases/WebKitGTK/webkit-2.4/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.4/Source/WebCore/ChangeLog

    r184505 r184544  
     12015-04-15  Руслан Ижбулатов  <lrn1986@gmail.com>
     2
     3        [W32] Fails to build - missing references to OpenGL context functions
     4        https://bugs.webkit.org/show_bug.cgi?id=143769
     5
     6        Reviewed by Carlos Garcia Campos.
     7
     8        Also use GL-related files when compiling with MinGW
     9        CXXLD    libwebkitgtk-3.0.la
     10        ./.libs/../source/webcore/platform/graphics/.libs/libplatform_la-graphicscontext3dprivate.o: In function `GraphicsContext3DPrivate':
     11        /src/mingw/webkitgtk-2.4.8-1\bld/../webkitgtk-2.4.8/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp:59: undefined reference to `__ZN7WebCore9GLContext14sharingContextEv'
     12        /src/mingw/webkitgtk-2.4.8-1\bld/../webkitgtk-2.4.8/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp:59: undefined reference to `__ZN7WebCore9GLContext22createOffscreenContextEPS0_'
     13        ./.libs/../source/webcore/platform/graphics/.libs/libplatform_la-graphicscontext3dprivate.o: In function `platformContext':
     14        /src/mingw/webkitgtk-2.4.8-1\bld/../webkitgtk-2.4.8/Source/WebCore/platform/graphics/GraphicsContext3DPrivate.cpp:84: undefined reference to `__ZN7WebCore9GLContext10getCurrentEv'
     15
     16        Becuase GLContext.cpp is not used, which happens because it's
     17        under TARGET_X11_OR_WAYLAND condition in the GNUmakefile.list.am.
     18        Move TARGET_X11_OR_WAYLAND up a bit to free up GLContext.cpp (now
     19        only protected by USE_OPENGL).
     20
     21        * GNUmakefile.list.am:
     22
    1232015-04-15  Руслан Ижбулатов  <lrn1986@gmail.com>
    224
  • releases/WebKitGTK/webkit-2.4/Source/WebCore/GNUmakefile.list.am

    r182458 r184544  
    62476247        Source/WebCore/platform/gtk/WidgetBackingStoreGtkX11.h \
    62486248        Source/WebCore/platform/gtk/WidgetBackingStoreGtkX11.cpp
     6249if USE_OPENGL
     6250platformgtk_sources += \
     6251        Source/WebCore/platform/gtk/RedirectedXCompositeWindow.cpp \
     6252        Source/WebCore/platform/gtk/RedirectedXCompositeWindow.h
     6253endif # END USE_OPENGL
    62496254if USE_GLX
    62506255webcoregtk_sources += \
     
    62686273        Source/WebCore/platform/cairo/WidgetBackingStoreCairo.h \
    62696274        Source/WebCore/platform/cairo/WidgetBackingStoreCairo.cpp
     6275endif # END TARGET_X11_OR_WAYLAND
     6276
    62706277if USE_OPENGL
    62716278platformgtk_sources += \
    62726279        Source/WebCore/platform/graphics/GLContext.cpp \
    6273         Source/WebCore/platform/graphics/GLContext.h \
    6274         Source/WebCore/platform/gtk/RedirectedXCompositeWindow.cpp \
    6275         Source/WebCore/platform/gtk/RedirectedXCompositeWindow.h
     6280        Source/WebCore/platform/graphics/GLContext.h
    62766281endif # END USE_OPENGL
     6282
    62776283if USE_EGL
    62786284webcoregtk_sources += \
     
    62806286        Source/WebCore/platform/graphics/egl/GLContextEGL.h
    62816287endif # END USE_EGL
    6282 endif # END TARGET_X11_OR_WAYLAND
    62836288
    62846289if TARGET_WIN32
Note: See TracChangeset for help on using the changeset viewer.