Jump to content

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


Ghost
 Share

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.

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
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
Link to comment
Share on other sites

  • 7 months later...
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

 

If you enjoy my content please consider donating to the Denarius creator - https://www.patreon.com/carsenk
Join Denarius Discord - https://discord.gg/JQEmXwb

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...