AdvancedTechnologyCoin / arc_core

Official source code ARC
http://advtech.group
MIT License
31 stars 20 forks source link

How do I solve it? #7

Open Soyasi opened 7 years ago

Soyasi commented 7 years ago

make Making all in src make[1]: Entering directory '/home/soyasi/bin/wallet/arcticcoin/src' make[2]: Entering directory '/home/soyasi/bin/wallet/arcticcoin/src' CXX qt/qt_arcticcoin_qt-arcticcoin.o In file included from /usr/include/c++/4.8/type_traits:35:0, from /usr/include/qt5/QtCore/qglobal.h:45, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qlabel.h:43, from /usr/include/qt5/QtWidgets/QLabel:1, from qt/bitcoingui.h:14, from qt/arcticcoin.cpp:10: /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

error This file requires compiler and library support for the \

^ In file included from /usr/include/qt5/QtCore/qglobal.h:98:0, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qlabel.h:43, from /usr/include/qt5/QtWidgets/QLabel:1, from qt/bitcoingui.h:14, from qt/arcticcoin.cpp:10: /usr/include/qt5/QtCore/qcompilerdetection.h:567:6: error: #error Qt requires a C++11 compiler and yours does not seem to be that.

error Qt requires a C++11 compiler and yours does not seem to be that.

  ^

In file included from /usr/include/qt5/QtCore/qatomic.h:46:0, from /usr/include/qt5/QtCore/qglobal.h:1158, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qlabel.h:43, from /usr/include/qt5/QtWidgets/QLabel:1, from qt/bitcoingui.h:14, from qt/arcticcoin.cpp:10: /usr/include/qt5/QtCore/qbasicatomic.h:61:4: error: #error "Qt requires C++11 support"

error "Qt requires C++11 support"

^

In file included from /usr/include/qt5/QtCore/qobjectdefs.h:50:0, from /usr/include/qt5/QtGui/qwindowdefs.h:44, from /usr/include/qt5/QtWidgets/qwidget.h:44, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qlabel.h:44, from /usr/include/qt5/QtWidgets/QLabel:1, from qt/bitcoingui.h:14, from qt/arcticcoin.cpp:10: /usr/include/qt5/QtCore/qobjectdefs_impl.h:339:9: warning: identifier ‘decltype’ is a keyword in C++11 [-Wc++0x-compat] template static auto test(F f) -> decltype(((f.operator()((dummy())...)), int())); ^ In file included from /usr/include/qt5/QtCore/qstring.h:48:0, from /usr/include/qt5/QtCore/qobject.h:47, from /usr/include/qt5/QtWidgets/qwidget.h:45, from /usr/include/qt5/QtWidgets/qframe.h:44, from /usr/include/qt5/QtWidgets/qlabel.h:44, from /usr/include/qt5/QtWidgets/QLabel:1, from qt/bitcoingui.h:14, from qt/arcticcoin.cpp:10: /usr/include/qt5/QtCore/qchar.h:587:1: warning: identifier ‘nullptr’ is a keyword in C++11 [-Wc++0x-compat] Q_DECL_CONSTEXPR inline bool operator!=(QChar lhs, std::nullptr_t) Q_DECL_NOTHROW { return !operator==(lhs, nullptr); } ^ In file included from /usr/include/qt5/QtGui/qtguiglobal.h:43:0, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qlabel.h:43, from /usr/include/qt5/QtWidgets/QLabel:1, from qt/bitcoingui.h:14, from qt/arcticcoin.cpp:10: /usr/include/qt5/QtCore/qglobal.h:927:23: error: expected ‘,’ or ‘...’ before ‘&&’ token void qAsConst(const T &&) Q_DECL_EQ_DELETE; ^ /usr/include/qt5/QtCore/qglobal.h:938:25: error: expected ‘,’ or ‘...’ before ‘&&’ token QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^ /usr/include/qt5/QtCore/qglobal.h:940:41: error: expected ‘,’ or ‘...’ before ‘&&’ token QForeachContainer(QForeachContainer &&other) ^ /usr/include/qt5/QtCore/qglobal.h:940:48: error: invalid constructor; you probably meant ‘QtPrivate::QForeachContainer (const QtPrivate::QForeachContainer&)’ QForeachContainer(QForeachContainer &&other) ^ /usr/include/qt5/QtCore/qglobal.h:948:52: error: expected ‘,’ or ‘...’ before ‘&&’ token QForeachContainer &operator=(QForeachContainer &&other) ^ /usr/include/qt5/QtCore/qglobal.h:959:19: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] int control = 1; ^ /usr/include/qt5/QtCore/qglobal.h: In constructor ‘QtPrivate::QForeachContainer::QForeachContainer(T)’: /usr/include/qt5/QtCore/qglobal.h:938:34: error: ‘move’ is not a member of ‘std’ QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^ /usr/include/qt5/QtCore/qglobal.h:938:44: error: ‘t’ was not declared in this scope QForeachContainer(T &&t) : c(std::move(t)), i(qAsConst(c).begin()), e(qAsConst(c).end()) {} ^ /usr/include/qt5/QtCore/qglobal.h: In member function ‘QtPrivate::QForeachContainer& QtPrivate::QForeachContainer::operator=(QtPrivate::QForeachContainer)’: /usr/include/qt5/QtCore/qglobal.h:950:13: error: ‘move’ is not a member of ‘std’ c = std::move(other.c); ^ /usr/include/qt5/QtCore/qglobal.h:950:23: error: ‘other’ was not declared in this scope c = std::move(other.c); ^ /usr/include/qt5/QtCore/qglobal.h:953:19: error: ‘move’ is not a member of ‘std’ control = std::move(other.control); ^ /usr/include/qt5/QtCore/qglobal.h: At global scope: /usr/include/qt5/QtCore/qglobal.h:963:33: error: ‘decay’ in namespace ‘std’ does not name a type QForeachContainer<typename std::decay::type> qMakeForeachContainer(T &&t) ^ /usr/include/qt5/QtCore/qglobal.h:963:38: error: expected template-argument before ‘<’ token QForeachContainer<typename std::decay::type> qMakeForeachContainer(T &&t) ^ /usr/include/qt5/QtCore/qglobal.h:963:38: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qglobal.h:963:47: error: template argument 1 is invalid QForeachContainer<typename std::decay::type> qMakeForeachContainer(T &&t) ^ /usr/include/qt5/QtCore/qglobal.h:963:49: error: expected ‘::’ before ‘qMakeForeachContainer’ QForeachContainer<typename std::decay::type> qMakeForeachContainer(T &&t) ^ /usr/include/qt5/QtCore/qglobal.h:963:73: error: expected ‘,’ or ‘...’ before ‘&&’ token QForeachContainer<typename std::decay::type> qMakeForeachContainer(T &&t) ^ /usr/include/qt5/QtCore/qglobal.h:963:76: error: ISO C++ forbids declaration of ‘qMakeForeachContainer’ with no type [-fpermissive] QForeachContainer<typename std::decay::type> qMakeForeachContainer(T &&t) ^ /usr/include/qt5/QtCore/qglobal.h: In function ‘int QtPrivate::qMakeForeachContainer(T)’: /usr/include/qt5/QtCore/qglobal.h:965:44: error: ‘decay’ in namespace ‘std’ does not name a type return QForeachContainer<typename std::decay::type>(std::forward(t)); ^ /usr/include/qt5/QtCore/qglobal.h:965:49: error: expected template-argument before ‘<’ token return QForeachContainer<typename std::decay::type>(std::forward(t)); ^ /usr/include/qt5/QtCore/qglobal.h:965:49: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qglobal.h:965:58: error: template argument 1 is invalid return QForeachContainer<typename std::decay::type>(std::forward(t)); ^ /usr/include/qt5/QtCore/qglobal.h:965:59: error: expected ‘::’ before ‘(’ token return QForeachContainer<typename std::decay::type>(std::forward(t)); ^ /usr/include/qt5/QtCore/qglobal.h:965:59: error: expected identifier before ‘(’ token /usr/include/qt5/QtCore/qglobal.h:965:60: error: ‘forward’ is not a member of ‘std’ return QForeachContainer<typename std::decay::type>(std::forward(t)); ^ /usr/include/qt5/QtCore/qglobal.h:965:74: error: expected primary-expression before ‘>’ token return QForeachContainer<typename std::decay::type>(std::forward(t)); ^ /usr/include/qt5/QtCore/qglobal.h:965:76: error: ‘t’ was not declared in this scope return QForeachContainer<typename std::decay::type>(std::forward(t)); ^ In file included from /usr/include/qt5/QtCore/qglobal.h:1152:0, from /usr/include/qt5/QtGui/qtguiglobal.h:43, from /usr/include/qt5/QtWidgets/qtwidgetsglobal.h:43, from /usr/include/qt5/QtWidgets/qlabel.h:43, from /usr/include/qt5/QtWidgets/QLabel:1, from qt/bitcoingui.h:14, from qt/arcticcoin.cpp:10: /usr/include/qt5/QtCore/qtypeinfo.h: At global scope: /usr/include/qt5/QtCore/qtypeinfo.h:61:25: error: ‘is_enum’ is not a member of ‘std’ isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^ /usr/include/qt5/QtCore/qtypeinfo.h:61:39: error: expected primary-expression before ‘>’ token isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^ /usr/include/qt5/QtCore/qtypeinfo.h:61:40: error: ‘::value’ has not been declared isSpecialized = std::is_enum::value, // don't require every enum to be marked manually ^ /usr/include/qt5/QtCore/qtypeinfo.h:63:22: error: ‘is_integral’ is not a member of ‘std’ isIntegral = std::is_integral::value, ^ /usr/include/qt5/QtCore/qtypeinfo.h:63:40: error: expected primary-expression before ‘>’ token isIntegral = std::is_integral::value, ^ /usr/include/qt5/QtCore/qtypeinfo.h:63:41: error: ‘::value’ has not been declared isIntegral = std::is_integral::value, ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:37: error: ‘is_enum’ is not a member of ‘std’ isComplex = !isIntegral && !std::is_enum::value, ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:51: error: expected primary-expression before ‘>’ token isComplex = !isIntegral && !std::is_enum::value, ^ /usr/include/qt5/QtCore/qtypeinfo.h:64:52: error: ‘::value’ has not been declared isComplex = !isIntegral && !std::is_enum::value, ^ /usr/include/qt5/QtCore/qtypeinfo.h:66:25: error: ‘is_enum’ is not a member of ‘std’ isRelocatable = std::is_enum::value, ^ /usr/include/qt5/QtCore/qtypeinfo.h:66:39: error: expected primary-expression before ‘>’ token isRelocatable = std::is_enum::value, ^ /usr/include/qt5/QtCore/qtypeinfo.h:66:40: error: ‘::value’ has not been declared isRelocatable = std::is_enum::value, ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:40: error: ‘enable_if’ in namespace ‘std’ does not name a type struct QTypeInfoQuery<T, typename std::enable_if<QTypeInfo::isRelocatable || true>::type> : public QTypeInfo ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected template-argument before ‘<’ token struct QTypeInfoQuery<T, typename std::enable_if<QTypeInfo::isRelocatable || true>::type> : public QTypeInfo ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:49: error: expected ‘>’ before ‘<’ token /usr/include/qt5/QtCore/qtypeinfo.h:130:92: error: template argument 2 is invalid struct QTypeInfoQuery<T, typename std::enable_if<QTypeInfo::isRelocatable || true>::type> : public QTypeInfo ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:94: error: expected ‘::’ before ‘:’ token struct QTypeInfoQuery<T, typename std::enable_if<QTypeInfo::isRelocatable || true>::type> : public QTypeInfo ^ /usr/include/qt5/QtCore/qtypeinfo.h:130:94: error: expected identifier before ‘:’ token /usr/include/qt5/QtCore/qtypeinfo.h:130:94: error: qualified name does not name a class before ‘:’ token /usr/include/qt5/QtCore/qtypeinfo.h:130:94: error: expected ‘{’ before ‘:’ token /usr/include/qt5/QtCore/qtypeinfo.h:130:94: error: expected unqualified-id before ‘:’ token /usr/include/qt5/QtCore/qtypeinfo.h:256:22: error: ‘is_integral’ is not a member of ‘std’ isIntegral = std::is_integral< TYPE >::value, \ ^ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO_BODY’ Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/include/qt5/QtCore/qtypeinfo.h:256:45: error: expected primary-expression before ‘>’ token isIntegral = std::is_integral< TYPE >::value, \ ^ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO_BODY’ Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/include/qt5/QtCore/qtypeinfo.h:256:46: error: ‘::value’ has not been declared isIntegral = std::is_integral< TYPE >::value, \ ^ /usr/include/qt5/QtCore/qtypeinfo.h:270:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO_BODY’ Q_DECLARE_TYPEINFO_BODY(QFlags, Q_PRIMITIVE_TYPE); ^ /usr/include/qt5/QtCore/qtypeinfo.h:256:22: error: ‘is_integral’ is not a member of ‘std’ isIntegral = std::is_integral< TYPE >::value, \ ^ /usr/include/qt5/QtCore/qtypeinfo.h:265:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO_BODY’ Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) ^ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO’ Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/include/qt5/QtCore/qtypeinfo.h:300:20: error: expected primary-expression before ‘bool’ Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/include/qt5/QtCore/qtypeinfo.h:256:40: note: in definition of macro ‘Q_DECLARE_TYPEINFO_BODY’ isIntegral = std::is_integral< TYPE >::value, \ ^ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO’ Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/include/qt5/QtCore/qtypeinfo.h:300:20: error: expected ‘}’ before ‘bool’ Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/include/qt5/QtCore/qtypeinfo.h:256:40: note: in definition of macro ‘Q_DECLARE_TYPEINFO_BODY’ isIntegral = std::is_integral< TYPE >::value, \ ^ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO’ Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/include/qt5/QtCore/qtypeinfo.h:256:45: error: expected unqualified-id before ‘>’ token isIntegral = std::is_integral< TYPE >::value, \ ^ /usr/include/qt5/QtCore/qtypeinfo.h:265:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO_BODY’ Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) ^ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO’ Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ /usr/include/qt5/QtCore/qtypeinfo.h:261:1: error: expected declaration before ‘}’ token } ^ /usr/include/qt5/QtCore/qtypeinfo.h:265:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO_BODY’ Q_DECLARE_TYPEINFO_BODY(TYPE, FLAGS) ^ /usr/include/qt5/QtCore/qtypeinfo.h:300:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO’ Q_DECLARE_TYPEINFO(bool, Q_PRIMITIVE_TYPE); ^ cc1plus: warning: unrecognized command line option "-Wno-self-assign" [enabled by default] Makefile:7783: recipe for target 'qt/qt_arcticcoin_qt-arcticcoin.o' failed make[2]: [qt/qt_arcticcoin_qt-arcticcoin.o] Error 1 make[2]: Leaving directory '/home/soyasi/bin/wallet/arcticcoin/src' Makefile:8816: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/home/soyasi/bin/wallet/arcticcoin/src' Makefile:638: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1

nobane commented 7 years ago

Please provide as much information as possible, such as your OS type and version, etc.