Jump to content
Sign in to follow this  
Carsen

[Tutorial] How to compile Denarius QT on Ubuntu 16.04+ - Terminal Cast

Recommended Posts

I am trying to compile the wallet on  Ubuntu 16.04.4 LTS .I followed all the steps as above but i am getting an error.

 

[email protected]:~/denarius$ make
cd /home/manosv/denarius/src/leveldb && CC=gcc CXX=g++ make OPT="-fpermissive -fstack-protector-all --param ssp-buffer-size=1 -O2" libleveldb.a libmemenv.a
make[1]: Entering directory '/home/manosv/denarius/src/leveldb'
make[1]: 'libleveldb.a' is up to date.
make[1]: 'libmemenv.a' is up to date.
make[1]: Leaving directory '/home/manosv/denarius/src/leveldb'
cd /home/manosv/denarius; /bin/sh share/genbuild.sh /home/manosv/denarius/build/build.h
g++ -c -fpermissive -fstack-protector-all --param ssp-buffer-size=1 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_QRCODE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DUSE_LEVELDB -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/qt/plugins/mrichtexteditor -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild -o build/masternodemanager.o src/qt/masternodemanager.cpp
src/qt/masternodemanager.cpp:27:21: fatal error: QScroller: No such file or directory
compilation terminated.
Makefile:4299: recipe for target 'build/masternodemanager.o' failed
make: *** [build/masternodemanager.o] Error 1


How to solve this.Or i do wrong.

Share this post


Link to post
Share on other sites
On 5/6/2018 at 8:54 PM, manosv said:

I am trying to compile the wallet on  Ubuntu 16.04.4 LTS .I followed all the steps as above but i am getting an error.

 

[email protected]:~/denarius$ make
cd /home/manosv/denarius/src/leveldb && CC=gcc CXX=g++ make OPT="-fpermissive -fstack-protector-all --param ssp-buffer-size=1 -O2" libleveldb.a libmemenv.a
make[1]: Entering directory '/home/manosv/denarius/src/leveldb'
make[1]: 'libleveldb.a' is up to date.
make[1]: 'libmemenv.a' is up to date.
make[1]: Leaving directory '/home/manosv/denarius/src/leveldb'
cd /home/manosv/denarius; /bin/sh share/genbuild.sh /home/manosv/denarius/build/build.h
g++ -c -fpermissive -fstack-protector-all --param ssp-buffer-size=1 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wno-ignored-qualifiers -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_QRCODE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DUSE_LEVELDB -DHAVE_BUILD_INFO -DLINUX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4 -Isrc -Isrc/json -Isrc/qt -Isrc/qt/plugins/mrichtexteditor -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild -o build/masternodemanager.o src/qt/masternodemanager.cpp
src/qt/masternodemanager.cpp:27:21: fatal error: QScroller: No such file or directory
compilation terminated.
Makefile:4299: recipe for target 'build/masternodemanager.o' failed
make: *** [build/masternodemanager.o] Error 1


How to solve this.Or i do wrong.

Did you solve this error? 

I am receiving the same one: QScroller not found 

Edited by drcopperfield
Typo

Share this post


Link to post
Share on other sites
sudo apt-get --assume-yes install git unzip build-essential libssl-dev libdb++-dev libboost-all-dev libqrencode-dev libminiupnpc-dev libgmp-dev libevent-dev autogen automake  libtool libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools

sudo apt install qt5-default

Change denarius-qt.pro

Quote

stdlib=c99 to gnu99

qmake "USE_QRCODE=1" "USE_UPNP=1" denarius-qt.pro
make

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...