Post
Topic
Board Announcements (Altcoins)
Re: [ANN]██████████████ NASARIUM [Scrypt PoW][NASAR]PROJECT ██████████████
by
GrampaHenry
on 10/07/2018, 12:45:00 UTC
How to compile linux wallet?

Update your linux

sudo apt-get update
sudo apt-get upgrade



install

Install the dependencies to compile from source code.

sudo apt-get install build-essential libssl-dev libdb-dev libdb++-dev libboost-all-dev git libssl1.0.0-dbg
sudo apt-get install libdb-dev libdb++-dev libboost-all-dev libminiupnpc-dev libminiupnpc-dev libevent-dev libcrypto++-dev libgmp3-dev

Create a directory nasarium

mkdir Nasarium-master
cd Nasarium-master

Go to the Nasarium-master directory

cd Nasarium-master

make -f makefile.unix RELEASE=1



Followed exactly the above on ubuntu xenial:
Code:
_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_; typename boost::add_reference::type = const CScriptID&]'
rpcrawtransaction.cpp:242:77:   required from here
/usr/include/boost/variant/get.hpp:178:5: error: invalid application of 'sizeof' to incomplete type 'boost::STATIC_ASSERTION_FAILURE'
     BOOST_STATIC_ASSERT_MSG(
     ^
make: *** [obj/rpcrawtransaction.o] Error 1
makefile.unix:186: recipe for target 'obj/rpcrawtransaction.o' failed

As with a lot of Linux wallets.  I diagnosed this down to finding the script calls for a directory named "obj", yet there is no "obj" directory.

Create it under the "src" directory and rerun install file.  Should not pass by that error!

Hope this helps you and happy to help!

 Wink