graninas / andromeda Goto Github PK
View Code? Open in Web Editor NEWLicense: BSD 3-Clause "New" or "Revised" License
License: BSD 3-Clause "New" or "Revised" License
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
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.