Webengine QT5.9.9 cross compile arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) 4.8.3 20140303 (prerelease)
Unsolved
QtonPi
-
Good afternoon!
Trying to build Webengine from git
git clone https://github.com/qt/qtwebengine.git -b v5.9.9 --depth 1 --recursive
Build using qmake:
$ any_path/bin/qmake QMAKE_LIBDIR_OPENGL_ES2=/usr/lib/arm-linux-gnueabihf QMAKE_LIBDIR_EGL=/usr/lib/arm-linux-gnueabihfI receive an error:
[8051/17661] CXX host/obj/third_party/protobuf/protoc_lib/objectivec_field.o [8052/17661] CXX host/obj/third_party/protobuf/protoc_lib/objectivec_map_field.o [8053/17661] CXX host/obj/third_party/protobuf/protoc_lib/objectivec_helpers.o [8054/17661] CXX host/obj/third_party/protobuf/protoc_lib/objectivec_message.o [8055/17661] CXX host/obj/third_party/protobuf/protoc_lib/objectivec_message_field.o [8056/17661] CXX host/obj/third_party/protobuf/protoc_lib/objectivec_oneof.o [8057/17661] CXX host/obj/third_party/protobuf/protoc_lib/objectivec_primitive_field.o [8058/17661] CXX host/obj/third_party/protobuf/protoc_lib/plugin.o [8059/17661] CXX host/obj/third_party/protobuf/protoc_lib/plugin.pb.o [8060/17661] CXX host/obj/third_party/protobuf/protoc_lib/ruby_generator.o [8061/17661] CXX host/obj/third_party/protobuf/protoc_lib/subprocess.o [8062/17661] COPY ../../3rdparty/chromium/third_party/icu/common/icudtl.dat v8_snapshot/icudtl.dat [8063/17661] STAMP v8_snapshot/obj/third_party/icu/icudata.stamp [8064/17661] CXX v8_snapshot/obj/third_party/icu/bundled_icui18n/affixpatternparser.o FAILED: v8_snapshot/obj/third_party/icu/bundled_icui18n/affixpatternparser.o /usr/bin/g++ -MMD -MF v8_snapshot/obj/third_party/icu/bundled_icui18n/affixpatternparser.o.d -DU_I18N_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DNO_TCMALLOC -DDISABLE_NACL -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1 -DUSE_PROPRIETARY_CODECS -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DFIELDTRIAL_TESTING_ENABLED -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DHAVE_DLOPEN=0 -DUCONFIG_ONLY_HTML_CONVERSION=1 -DU_CHARSET_IS_UTF8=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -Iv8_snapshot/gen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/icu/source/common -I../../3rdparty/chromium/third_party/icu/source/i18n -Wno-deprecated-declarations -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pipe -pthread -m32 -msse2 -mfpmath=sse -mmmx -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-function -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -fno-exceptions -frtti -Wno-deprecated -Wno-narrowing -c ../../3rdparty/chromium/third_party/icu/source/i18n/affixpatternparser.cpp -o v8_snapshot/obj/third_party/icu/bundled_icui18n/affixpatternparser.o In file included from ../../3rdparty/chromium/third_party/icu/source/common/unicode/std_string.h:35, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/unistr.h:33, from ../../3rdparty/chromium/third_party/icu/source/common/unicode/locid.h:36, from ../../3rdparty/chromium/third_party/icu/source/i18n/unicode/dcfmtsym.h:36, from ../../3rdparty/chromium/third_party/icu/source/i18n/affixpatternparser.cpp:14: /usr/include/c++/9/string:38:10: fatal error: bits/c++config.h: No such file or directory 38 | #include <bits/c++config.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated. [8065/17661] CXX host/obj/third_party/protobuf/protoc_lib/zip_writer.o [8066/17661] CXX host/obj/third_party/protobuf/protoc_lib/python_generator.o ninja: build stopped: subcommand failed. make[3]: *** [run_ninja] Error 1 Makefile.gn_run:349: recipe execution error for the target «run_ninja» make[3]: exit from directory «/home/dr/raspi/raspiJD599omxL49/src/qtwebengine/src/core» make[2]: *** [sub-gn_run-pro-make_first] Error 2 Makefile:80: recipe execution error for the target «sub-gn_run-pro-make_first» make[2]: exit from directory «/home/dr/raspi/raspiJD599omxL49/src/qtwebengine/src/core» make[1]: *** [sub-core-make_first] Error 2 Makefile:77: recipe execution error for the target «sub-core-make_first» make[1]: exit from directory «/home/dr/raspi/raspiJD599omxL49/src/qtwebengine/src» make: *** [sub-src-make_first] Error 2 Makefile:46: recipe execution error for the target «sub-src-make_first»
ERROR: Unknown command line option '-tasks-no-webengine-v8-snapshot'.
File c++config.h is available in sysroot/usr/include/c++/4/bits.
In what direction to go, please tell me?
Thank you very much.