Andromeda icon indicating copy to clipboard operation
Andromeda copied to clipboard

Compile error

Open madjestic opened this issue 7 years ago • 0 comments

Hey, Alexander

I am trying to build the project with stack, and it fails with this:

...
[18 of 18] Compiling Graphics.QML     ( src/Graphics/QML.hs, .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/Graphics/QML.o )
    
    /tmp/stack12936/hsqml-0.3.4.0/In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/type_traits:35:0:
        0,
                         from /usr/include/qt5/QtCore/qglobal.h:45,
                         from /usr/include/qt5/QtCore/qnamespace.h:43,
                         from /usr/include/qt5/QtCore/qobjectdefs.h:48,
                         from /usr/include/qt5/QtCore/qobject.h:46,
                         from /usr/include/qt5/QtCore/QObject:1,
                         from .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/cbits/../../../../../../cbits/Canvas.h:4,
                         from .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/cbits/moc_Canvas.cpp:9:
    
    /usr/lib64/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5/bits/c++0x_warning.h:32:2:
         error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
         #error This file requires compiler and library support \
          ^
    
    /tmp/stack12936/hsqml-0.3.4.0/In file included from /usr/include/qt5/QtCore/qglobal.h:98:0:
        0,
                         from /usr/include/qt5/QtCore/qnamespace.h:43,
                         from /usr/include/qt5/QtCore/qobjectdefs.h:48,
                         from /usr/include/qt5/QtCore/qobject.h:46,
                         from /usr/include/qt5/QtCore/QObject:1,
                         from .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/cbits/../../../../../../cbits/Canvas.h:4,
                         from .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/cbits/moc_Canvas.cpp:9:
    
    /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.
              ^
    
    /tmp/stack12936/hsqml-0.3.4.0/In file included from /usr/include/qt5/QtCore/qatomic.h:46:0:
        0,
                         from /usr/include/qt5/QtCore/qglobal.h:1158,
                         from /usr/include/qt5/QtCore/qnamespace.h:43,
                         from /usr/include/qt5/QtCore/qobjectdefs.h:48,
                         from /usr/include/qt5/QtCore/qobject.h:46,
                         from /usr/include/qt5/QtCore/QObject:1,
                         from .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/cbits/../../../../../../cbits/Canvas.h:4,
                         from .stack-work/dist/x86_64-linux/Cabal-1.22.5.0/build/cbits/moc_Canvas.cpp:9:
...

(and many more similar)

madjestic avatar Nov 06 '17 22:11 madjestic