Giter Site home page Giter Site logo

andromeda's People

Contributors

graninas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

andromeda's Issues

Compile Error: use of deleted function

I am trying to get Andromeda built on Ubuntu 20.02.2 LTS. I used stack build to build it and had to install a few Qt dependencies: qtbase5-dev and qtdeclarative5-dev. My stack version is 2.3.3. gcc/g++ version is 9.3.0

However, at some point the compilation process runs into the following error:

hsqml    > cbits/Class.cpp: In constructor ‘HsQMLClass::HsQMLClass(unsigned int*, unsigned int*, char*, HsStablePtr, void (**)(void*, void**), void (**)(void*, void**))’:
hsqml    >         
hsqml    > /tmp/stack-d0156022c8cffaa8/hsqml-0.3.4.0/cbits/Class.cpp:46:73:
hsqml    >      error: use of deleted function ‘QArrayData::QArrayData(const QArrayData&)’
hsqml    >        46 |         new(&mMetaStrData[i*sizeof(QByteArrayData)]) QByteArrayData(data);
hsqml    >           |                                                                         ^
hsqml    > In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:46,
hsqml    >                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:47,
hsqml    >                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QMetaType:1,
hsqml    >         
hsqml    >                  /tmp/stack-d0156022c8cffaa8/hsqml-0.3.4.0/from cbits/Class.cpp:5:0: 
hsqml    >         
hsqml    > /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:48:22:
hsqml    >      note: ‘QArrayData::QArrayData(const QArrayData&)’ is implicitly deleted because the default definition would be ill-formed:
hsqml    >        48 | struct Q_CORE_EXPORT QArrayData
hsqml    >           |                      ^~~~~~~~~~
hsqml    >         
hsqml    > /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:48:22:
hsqml    >      error: use of deleted function ‘QtPrivate::RefCount::RefCount(const QtPrivate::RefCount&)’
hsqml    > In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qbytearray.h:44,
hsqml    >                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:47,
hsqml    >                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QMetaType:1,
hsqml    >         
hsqml    >                  /tmp/stack-d0156022c8cffaa8/hsqml-0.3.4.0/from cbits/Class.cpp:5:0: 
hsqml    >         
hsqml    > /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:51:7:
hsqml    >      note: ‘QtPrivate::RefCount::RefCount(const QtPrivate::RefCount&)’ is implicitly deleted because the default definition would be ill-formed:
hsqml    >        51 | class RefCount
hsqml    >           |       ^~~~~~~~
hsqml    >         
hsqml    > /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:51:7:
hsqml    >      error: use of deleted function ‘QBasicAtomicInteger<T>::QBasicAtomicInteger(const QBasicAtomicInteger<T>&) [with T = int]’
hsqml    > In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic.h:46,
hsqml    >                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1210,
hsqml    >                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43,
hsqml    >                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48,
hsqml    >                  from /usr/include/x86_64-linux-gnu/qt5/QtCore/QMetaObject:1,
hsqml    >         
hsqml    >                  /tmp/stack-d0156022c8cffaa8/hsqml-0.3.4.0/from cbits/Class.cpp:4:0: 
hsqml    >         
hsqml    > /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:222:5:
hsqml    >      note: declared here
hsqml    >       222 |     QBasicAtomicInteger(const QBasicAtomicInteger &) = delete;
hsqml    >           |     ^~~~~~~~~~~~~~~~~~~
                   
--  While building package hsqml-0.3.4.0 using:
      /tmp/stack-d0156022c8cffaa8/hsqml-0.3.4.0/.stack-work/dist/x86_64-linux-tinfo6/Cabal-1.22.5.0/setup/setup --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-1.22.5.0 build --ghc-options ""
    Process exited with code: ExitFailure 1

Compile error

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.