-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.8.0 Alpha
-
None
-
I am using a hand compiled version of Mesa
Debian Testing, but forced to GCC 5
Hi
It seems I am getting compile errors compiling QtWebEngine, when reaching QtWebEngineCore.chromium_gpu_helper.o
It seems to be an issue with how it's handling the Mesa headers?
I am using Debian Testing, GCC 5, and a hand compiled Mesa, but I was able to compile QtWebEngine a bit earlier, I am not sure what changed...
My QtBase is compiled with ../configure -confirm-license -opensource -qpa wayland -egl -prefix $INSTALLDIR -release -dbus -no-gtk -system-sqlite -no-warnings-are-errors -no-separate-debug-info -nomake tests -nomake examples -libinput
Thanks
This is the build output I am getting:
[13606/13673] CXX obj/src/core/QtWebEngineCore.chromium_gpu_helper.o
FAILED: obj/src/core/QtWebEngineCore.chromium_gpu_helper.o
/usr/bin/g++ -MMD -MF obj/src/core/QtWebEngineCore.chromium_gpu_helper.o.d -DV8_DEPRECATION_WARNINGS -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_NOTIFICATIONS -DUSE_UDEV -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DQT_NO_KEYWORDS -DQT_USE_QSTRINGBUILDER -DQ_FORWARD_DECLARE_OBJC_CLASS=QT_FORWARD_DECLARE_CLASS '-DQTWEBENGINECORE_VERSION_STR="5.8.0"' -DBUILDING_CHROMIUM -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_WEBENGINECOREHEADERS_LIB -D_STDC_CONSTANT_MACROS -D_STDC_FORMAT_MACROS '-DCHROMIUM_VERSION="53.0.2785.148"' -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DSK_SUPPORT_GPU=1 -DSK_IGNORE_DW_GRAY_FIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_NOEXCEPT= -DU_STATIC_IMPLEMENTATION -DUSE_EGL -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_LIBPCI=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 '-DQTWEBENGINEPROCESS_NAME="QtWebEngineProcess"' -Igen/shim_headers/opus/target -Igen/shim_headers/libpng/target -Igen -I/srcbuild/qtwebengine/src/3rdparty/chromium -I/srcbuild/qtwebengine/src/core -I/srcbuild/qtwebengine/src/core/api -I/opt/include -I/opt/include/libdrm -I/usr/include -I/opt/include/QtQuick -I/opt/include/QtGui -I/opt/include/QtWebChannel -I/opt/include/QtQml -I/opt/include/QtNetwork -I/opt/include/QtCore -I/srcbuild/qtwebengine/include -I/srcbuild/qtwebengine/include/QtWebEngineCore -I/srcbuild/qtwebengine/include/QtWebEngineCore/5.8.0 -I/srcbuild/qtwebengine/include/QtWebEngineCore/5.8.0/QtWebEngineCore -I/opt/include/QtQuick/5.8.0 -I/opt/include/QtQuick/5.8.0/QtQuick -I/opt/include/QtGui/5.8.0 -I/opt/include/QtGui/5.8.0/QtGui -I/opt/include/QtQml/5.8.0 -I/opt/include/QtQml/5.8.0/QtQml -I/opt/include/QtCore/5.8.0 -I/opt/include/QtCore/5.8.0/QtCore -I/srcbuild/qtwebengine/src/core/Release/.moc -Igen/net -Igen/chrome -I/srcbuild/qtwebengine/src/3rdparty/chromium -I/srcbuild/qtwebengine/src/3rdparty/chromium/skia/config -Igen/angle -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/WebKit/Source -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/WebKit -Igen/third_party/WebKit -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/leveldatabase/src/include -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/leveldatabase/src -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/leveldatabase -Igen/content/app/resources/ -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/libwebm/source -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/boringssl/src/include -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/skia/include/core -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/skia/include/effects -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/skia/include/pdf -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/skia/include/gpu -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/skia/include/lazy -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/skia/include/pathops -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/skia/include/pipe -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/skia/include/ports -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/skia/include/utils -I/srcbuild/qtwebengine/src/3rdparty/chromium/skia/ext -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/WebKit -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/icu/source/common -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/icu/source/i18n -I/srcbuild/qtwebengine/src/3rdparty/chromium/third_party/mesa/src/include -I/srcbuild/qtwebengine/src/3rdparty/chromium/v8/include -fstack-protector --param=ssp-buffer-size=4 -pthread -fno-strict-aliasing -Wno-extra -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -pipe -O2 -fno-exceptions -W -D_REENTRANT -pthread -I/opt/include/glib-2.0 -I/opt/lib/i386-linux-gnu/glib-2.0/include -I/usr/include -I/usr/include/opus -I/opt/include/harfbuzz -I/opt/include/glib-2.0 -I/opt/lib/i386-linux-gnu/glib-2.0/include -I/usr/local/include/freetype2 -I/usr/include -I/usr/include/freetype2 -I/usr/include -I/usr/include/libpng16 -I/usr/include -msse2 -mfpmath=sse -mmmx -m32 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -Os -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -pipe -O2 -std=gnu+11 -fno-exceptions -Wall -W -D_REENTRANT -Wno-deprecated -std=gnu+11 -Wno-narrowing -c /srcbuild/qtwebengine/src/core/chromium_gpu_helper.cpp -o obj/src/core/QtWebEngineCore.chromium_gpu_helper.o
In file included from /opt/include/GL/gl.h:2055:0,
from /srcbuild/qtwebengine/src/3rdparty/chromium/ui/gl/gl_bindings.h:21,
from /srcbuild/qtwebengine/src/3rdparty/chromium/gpu/command_buffer/service/gl_utils.h:14,
from /srcbuild/qtwebengine/src/3rdparty/chromium/gpu/command_buffer/service/texture_manager.h:22,
from /srcbuild/qtwebengine/src/core/chromium_gpu_helper.cpp:51:
/opt/include/GL/glext.h:468:19: error: conflicting declaration ‘typedef ptrdiff_t GLsizeiptr’
typedef ptrdiff_t GLsizeiptr;
^
In file included from /srcbuild/qtwebengine/src/3rdparty/chromium/gpu/command_buffer/service/gles2_cmd_validation.h:12:0,
from /srcbuild/qtwebengine/src/3rdparty/chromium/gpu/command_buffer/service/feature_info.h:14,
from /srcbuild/qtwebengine/src/3rdparty/chromium/gpu/command_buffer/service/texture_manager.h:21,
from /srcbuild/qtwebengine/src/core/chromium_gpu_helper.cpp:51:
/srcbuild/qtwebengine/src/3rdparty/chromium/gpu/command_buffer/common/gles2_cmd_format.h:52:26: note: previous declaration as ‘typedef khronos_ssize_t GLsizeiptr’
typedef khronos_ssize_t GLsizeiptr;
^
In file included from /opt/include/GL/gl.h:2055:0,
from /srcbuild/qtwebengine/src/3rdparty/chromium/ui/gl/gl_bindings.h:21,
from /srcbuild/qtwebengine/src/3rdparty/chromium/gpu/command_buffer/service/gl_utils.h:14,
from /srcbuild/qtwebengine/src/3rdparty/chromium/gpu/command_buffer/service/texture_manager.h:22,
from /srcbuild/qtwebengine/src/core/chromium_gpu_helper.cpp:51:
/opt/include/GL/glext.h:469:19: error: conflicting declaration ‘typedef ptrdiff_t GLintptr’
typedef ptrdiff_t GLintptr;
^
In file included from /srcbuild/qtwebengine/src/3rdparty/chromium/gpu/command_buffer/service/gles2_cmd_validation.h:12:0,
from /srcbuild/qtwebengine/src/3rdparty/chromium/gpu/command_buffer/service/feature_info.h:14,
from /srcbuild/qtwebengine/src/3rdparty/chromium/gpu/command_buffer/service/texture_manager.h:21,
from /srcbuild/qtwebengine/src/core/chromium_gpu_helper.cpp:51:
/srcbuild/qtwebengine/src/3rdparty/chromium/gpu/command_buffer/common/gles2_cmd_format.h:51:26: note: previous declaration as ‘typedef khronos_intptr_t GLintptr’
typedef khronos_intptr_t GLintptr;
QtWebEngine config Output:
System zlib or minizip not found. Using Chromium's copies.
System libevent not found. Using Chromium's copy.
System protobuf not found. Using Chromium's copy.
Compatible system libvpx not found. Using Chromium's copy.
System libsrtp not found. Using Chromium's copy.
System snappy not found. Using Chromium's copy.
System library dependencies:
ICU ................................ Using internal copy (Default, force system ICU with WEBENGINE_CONFIG+=use_system_icu)
FFMPEG ............................. Using system version
Optional system libraries used ..... ffmpeg harfbuzz libwebp libwebpdemux libxslt libxml2 jsoncpp opus
Optional bundled libraries used .... libevent protobuf libvpx srtp snappy icu
Configurable features:
Proprietary codecs (H264, MP3) ..... Not enabled (Default, enable with WEBENGINE_CONFIG+=use_proprietary_codecs)
Geolocation ........................ Not enabled (Requires Qt Positioning module)
Certificate handling ............... Using system NSS
- duplicates
-
QTBUG-57035 Webengine build error with Duplicate definitions of GLintptr and GLsizeiptr
-
- Closed
-