[Interest] building Qt 5.9 on Linux - clang or GCC?
tomek
osmial.tomek at gmail.com
Fri Dec 22 20:31:51 CET 2017
Ok, so the build directory is being cleaned up before I'm running configure
script:
tomek at tomek-pc:~/workspace/qt-dev/qt5/build-5.10.0_x86_64_clang (dev) > rm
-rf *
tomek at tomek-pc:~/workspace/qt-dev/qt5/build-5.10.0_x86_64_clang (dev) > ls
tomek at tomek-pc:~/workspace/qt-dev/qt5/build-5.10.0_x86_64_clang (dev) >
../configure -platform linux-clang -opensource -nomake examples -nomake
tests
C++ releated features tests output:
Checking for C++14 support...
yes
Checking for C++1z support... yes
Checking for C++11 <future>... no
Checking for C++11 <random>... no
Configure summary:
Build type: linux-clang (x86_64, CPU features: mmx sse sse2)
Configuration: use_gold_linker sse2 aesni sse3 ssse3 sse4_1 sse4_2 avx avx2
avx512f avx512bw avx512cd avx512dq avx512er avx512ifma avx512pf avx512vbmi
avx512vl compile_examples enable_new_dtags f16c largefile precompile_header
rdrnd shani x86SimdAlways shared rpath
release c++11 c++14 c++1z concurrent dbus reduce_exports
reduce_relocations stl
Using C++ standard ..................... C++1z
ERROR: C++11 <random> is required and is missing or failed to compile.
Hope it's enough, attaching config.log file with details.
BTW. Thanks for your help Thiago.
BR/
2017-12-22 13:13 GMT+01:00 Thiago Macieira <thiago.macieira at intel.com>:
> On quinta-feira, 21 de dezembro de 2017 22:00:32 -02 tomek wrote:
> > And it works also for me too, but command executed during 'configure'
> > script execution lacks -std=c++11 flag:
>
> Ah, so that is the problem.
>
> It's passing -std=gnu++11 here, for me.
>
> Can you attach the entire config.log? Make sure config.cache is empty (or
> doesn't exist) before running configure. The problem may be the detection
> of
> what C++ the compiler defaults to.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
> Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171222/879a8955/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 162894 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20171222/879a8955/attachment.bin>
More information about the Interest
mailing list