[Interest] Frustrated, Why doesn't Qt ever compile?

Jason H jhihn at gmx.com
Wed Dec 21 20:43:13 CET 2016


Trying to compile a fresh 5.7.1 download
$ ../qt-everywhere-enterprise-src-5.7.1/configure -prefix /usr/local/Qt/5.7.1_ws_iOS -xplatform macx-ios-clang -release -nomake tests -nomake examples
$ make

In file included from /Users/jhihn/qt-everywhere-enterprise-src-5.7.1/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:57:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:446:10: fatal error: 'functional' file not found
#include <functional>

In file included from /Users/jhihn/qt-everywhere-enterprise-src-5.7.1/qtbase/include/QtCore/qsystemdetection.h:1:
/Users/jhihn/qt-everywhere-enterprise-src-5.7.1/qtbase/include/QtCore/../../src/corelib/global/qsystemdetection.h:96:12: fatal error: 'TargetConditionals.h' file not found
#  include <TargetConditionals.h>

In file included from /Users/jhihn/qt-everywhere-enterprise-src-5.7.1/qtbase/include/QtGui/qopengl.h:1:
/Users/jhihn/qt-everywhere-enterprise-src-5.7.1/qtbase/include/QtGui/../../src/gui/opengl/qopengl.h:69:13: fatal error: 'OpenGLES/ES3/gl.h' file not found
#   include <OpenGLES/ES3/gl.h>

I re-ran configure and now I get:
Could not determine the target architecture!
Turn on verbose messaging (-v) to see the final report.
checking for C++14...  no.
checking for default C++ standard edition...  no.
checking for 64-bit std::atomic...  no.
checking for 64-bit std::atomic in -latomic...  no.
checking for std::atomic for function pointers...  no.
ERROR: detected a std::atomic implementation that fails for function pointers.
Please apply the patch corresponding to your Standard Library vendor, found in
  /Users/jhihn/qt-everywhere-enterprise-src-5.7.1/qtbase/config.tests/common/atomicfptr

but I'm not using the Intel Composer XE 2016, which the patch seems to be for.




More information about the Interest mailing list