-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
by following https://github.com/datacoinproject/datacoin-core/blob/master/doc/build-windows.md
on ubuntu 20.4 and install all dependencies
# git clone https://github.com/datacoinproject/datacoin-core
# cd datacoin-core/
# PATH=$(echo "$PATH" | sed -e 's/:\/mnt.*//g') # strip out problematic Windows %PATH% imported var
# cd depends
# chmod +x config.guess config.sub
# make HOST=x86_64-w64-mingw32
I got below error
compiling thread/qthreadstorage.cpp
compiling thread/qthread_win.cpp
compiling thread/qwaitcondition_win.cpp
In file included from ../../include/QtCore/qlist.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qobject.h:49,
from ../../include/QtCore/qobject.h:1,
from ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:46,
from ../../include/QtCore/qcoreapplication.h:1,
from global/qt_pch.h:62:
../../include/QtCore/../../src/corelib/tools/qlist.h: In instantiation of _QList<T>::iterator QList<T>::erase(QList<T>::iterator) [with T = QWaitConditionEvent*]_:
../../include/QtCore/../../src/corelib/tools/qlist.h:347:55: required from _void QList<T>::removeFirst() [with T = QWaitConditionEvent*]_
../../include/QtCore/../../src/corelib/tools/qlist.h:558:18: required from _T QList<T>::takeFirst() [with T = QWaitConditionEvent*]_
thread/qwaitcondition_win.cpp:95:77: required from here
../../include/QtCore/../../src/corelib/tools/qlist.h:529:12: warning: implicitly-declared _QList<QWaitConditionEvent*>::iterator& QList<QWaitConditionEvent*>::iterator::operator=(const QList<QWaitConditionEvent*>::iterator&)_ is deprecated [-Wdeprecated-copy]
529 | it = begin(); // implies detach()
../../include/QtCore/../../src/corelib/tools/qlist.h:235:16: note: because _QList<QWaitConditionEvent*>::iterator_ has user-provided _QList<T>::iterator::iterator(const QList<T>::iterator&) [with T = QWaitConditionEvent*]_
235 | inline iterator(const iterator &o) Q_DECL_NOTHROW : i(o.i){}
| ^~~~~~~~
compiling tools/qarraydata.cpp
compiling tools/qbitarray.cpp
compiling tools/qbytearray.cpp
tools/qbytearray.cpp:57:10: fatal error: zconf.h: No such file or directory
57 | #include <zconf.h>
| ^~~~~~~~~
compilation terminated.
make[3]: *** [Makefile.Release:12904: .obj/release/qbytearray.o] Error 1
make[3]: Leaving directory '/root/datacoin-core/depends/work/build/x86_64-w64-mingw32/qt/5.7.1-85f261d2894/qtbase/src/corelib'
make[2]: *** [Makefile:34: release] Error 2
make[2]: Leaving directory '/root/datacoin-core/depends/work/build/x86_64-w64-mingw32/qt/5.7.1-85f261d2894/qtbase/src/corelib'
make[1]: *** [Makefile:188: sub-corelib] Error 2
make[1]: Leaving directory '/root/datacoin-core/depends/work/build/x86_64-w64-mingw32/qt/5.7.1-85f261d2894/qtbase/src'
make: *** [funcs.mk:244: /root/datacoin-core/depends/work/build/x86_64-w64-mingw32/qt/5.7.1-85f261d2894/qtbase/.stamp_built] Error 2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels