Multichain build error

+1 vote
I got following error when I try to build Multichain from its Github repository.

 

chainparams/chainparams.cpp: In constructor ‘CMainParams::CMainParams()’:
chainparams/chainparams.cpp:176:51: error: ambiguous overload for ‘operator=’ (operand types are ‘std::vector<unsigned char>’ and ‘boost::assign_detail::generic_list<int>’)
         base58Prefixes[PUBKEY_ADDRESS] = list_of(0);
                                                   ^
In file included from /usr/include/c++/6/vector:69:0,
                 from ./chainparams/chainparamsbase.h:10,
                 from ./chainparams/chainparams.h:10,
                 from chainparams/chainparams.cpp:7:

 

 

I can't figure out how to fix this.
asked May 19, 2017 by Hwang
Which operating system and compuler are you using (including versions)?
Ubuntu 17.04 on x86_64
Thanks - we'll look into this.
Boost version is 1.62 and Multichain is beta 1.0

1 Answer

+1 vote
 
Best answer
We can't currently provide support for compiling on this Ubuntu version, but the problem is most likely to be with the Boost library. Please try compiling with Boost 1.5.8.
answered May 23, 2017 by MultiChain
I tried with Boost 1.58 but still got the same error message.
seems like Multichain does not support 17.04 Ubuntu.
It's true, I got solution with boost@1.5.7
...