-
-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Labels
Description
Thanks for this project, it looks very interesting! I am having some troubles compiling on Ubuntu 20.04, though. I believe I have all the dependencies listed, but it feels like something is missing. I have the same issues on both the master and v2 branches.
$ make
g++ -c -pipe -O2 -pthread -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_WEBSOCKETS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/ew-node/src -isystem /usr/include/hidapi -isystem /usr/include/libusb-1.0 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebSockets -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o src/main.cpp
In file included from src/accountmodel.h:33,
from src/main.cpp:36:
src/ew-node/src/nodeipc.h:211:9: error: ‘QElapsedTimer’ does not name a type; did you mean ‘QBasicTimer’?
211 | QElapsedTimer fKillTime;
| ^~~~~~~~~~~~~
| QBasicTimer
make: *** [Makefile:891: main.o] Error 1
If I go to src/ew-node/src/nodeipc.h and add the line #include <QElapsedTimer>, it passes that step but then crashes with the error:
g++ -c -pipe -O2 -pthread -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_WEBSOCKETS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc -Isrc/ew-node/src -isystem /usr/include/hidapi -isystem /usr/include/libusb-1.0 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtQuick -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtQml -isystem /usr/include/x86_64-linux-gnu/qt5/QtWebSockets -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o nodeipc.o src/ew-node/src/nodeipc.cpp
src/ew-node/src/nodeipc.cpp: In constructor ‘Etherwall::NodeIPC::NodeIPC(Etherwall::GethLog&)’:
src/ew-node/src/nodeipc.cpp:106:42: error: ‘errorOccurred’ is not a member of ‘QLocalSocket’
106 | connect(&fSocket, &QLocalSocket::errorOccurred, this, &NodeIPC::onSocketError);
| ^~~~~~~~~~~~~
src/ew-node/src/nodeipc.cpp: In member function ‘virtual const QStringList Etherwall::NodeIPC::buildGethArgs()’:
src/ew-node/src/nodeipc.cpp:730:81: error: ‘SkipEmptyParts’ is not a member of ‘Qt’
730 | args = (argStr + " --datadir " + ddStr + "/rinkeby").split(' ', Qt::SkipEmptyParts);
| ^~~~~~~~~~~~~~
src/ew-node/src/nodeipc.cpp:733:68: error: ‘SkipEmptyParts’ is not a member of ‘Qt’
733 | args = (argStr + " --datadir " + ddStr).split(' ', Qt::SkipEmptyParts);
| ^~~~~~~~~~~~~~
make: *** [Makefile:1109: nodeipc.o] Error 1
Thank you!