Post
Topic
Board Announcements (Altcoins)
Re: [*] 8BIT [Dark Masternodes][Anon][Roadmap Stage 4]
by
Pon13
on 15/12/2017, 13:41:21 UTC
Hi Guys,

Can somebody help me out with fixing a compiling error i get? I get a few of about the same (just a different number) and then no joy.

chainparams.cpp:143:53: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector’ and ‘boost::assign_detail::generic_list’)
         base58Prefixes[PUBKEY_ADDRESS] = list_of(111);

I did all steps that need to be done before building. I am at Ubuntu 17, so maybe some version conflict?

Something to do with boost? I'm at V1.62

Thanks!


Ok, this was a boost version error. I did some copy/paste work in "chainparams.cpp" to fix this.
Now having a darksend.cpp error and trying to fix at at the same manor. Going to "borrow" some code from another git ;-)

man do you use the correct git version?? the only thing that needs to be edited in order to compile the wallet is the following:

Most likely, there will be an error in the assembly.
Therefore, you will need to fix ~/8bit/src/rpcrawtransaction.cpp

search for this line
                     const CScriptID& hash = boost::get(address);
It should work after changed to
                       const CScriptID& hash = boost::get(address);


Here is the complete guide for CLI and GUI. If you make it pat yourself in da back and smoke a spliffy.

Once I wrote for myself the installation instructions, maybe it will come in handy.

1. Setting dependencies:
Code:
sudo apt-get install -y libminiupnpc-dev autoconf automake build-essential libssl-dev libdb++-dev libboost-all-dev libqrencode-dev

1.5 sudo apt-get install git (if you dont have it)

2. Installation secp256k1
Code:
cd ~&&git clone http://www.github.com/bitcoin/secp256k1&&cd  secp256k1&&git checkout a1d5ae1&&./autogen.sh&&./configure&&make&&sudo make install&&cd ..

3. Installing 8bit
Code:
cd ~&&git clone https://github.com/8bit-dev/8bit&&cd 8bit/src&&cp crypto obj/crypto -rR

Most likely, there will be an error in the assembly.
Therefore, you will need to fix ~/8bit/src/rpcrawtransaction.cpp

search for this line
                     const CScriptID& hash = boost::get(address);
It should work after changed to
                       const CScriptID& hash = boost::get(address);

Code:
make -f makefile.unix&&strip 8bitd&&sudo cp 8bitd /usr/bin

If everything went well and without errors, then you will have a console version of the wallet.
If you need the GUI (ATTENTION IF YOU COMPILED THE CLI VERSION YOU NEED TO RENAME THE 8bit Folder to something else e.g. 8bitCLI and the continue with the procedure below):
1. Setting dependencies:
Code:
sudo apt-get install -y qt5-default qt5-qmake qtbase5-dev-tools qttools5-dev-tools build-essential libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libdb++-dev libminiupnpc-dev

2. Installing 8bit-qt
Code:
cd ~&&git clone https://github.com/8bit-dev/8bit&&cd 8bit/src&&cp crypto obj/crypto -rR
Then again you have to edit the rpcrawtransaction.cpp (as you did for the CLI version) and then compile
Code:
qmake&&make


I install 8bitd on Raspberry Pi 3
8bit-qt install on Linux Mint 18.1

I apologize for the bad english.