Hello,
I have been trying to compile Zetacoin. I have overcome a few errors, but this one has been stumped. Any help?
rpcrawtransaction.cpp:299:77: required from here
Here's a diff-generated patch that will fix that particular OS-related issue ...
--- a/src/rpcrawtransaction.cpp
+++ b/src/rpcrawtransaction.cpp
@@ -296,7 +296,7 @@ Value listunspent(const Array& params, bool fHelp)
CTxDestination address;
if (ExtractDestination(pk, address))
{
- const CScriptID& hash = boost::get(address);
+ const CScriptID& hash = boost::get(address);
CScript redeemScript;
if (pwalletMain->GetCScript(hash, redeemScript))
entry.push_back(Pair("redeemScript", HexStr(redeemScript.begin(), redeemScript.end())));
HTH
Cheers
Graham
* gjhiggins is too unfamiliar with C++ compiler/architecture variants to suggest a PR
/usr/include/boost/variant/get.hpp:178:5: error: invalid application of sizeof to incomplete type boost::STATIC_ASSERTION_FAILURE
BOOST_STATIC_ASSERT_MSG(
^
rpcrawtransaction.cpp:805:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Makefile:837: recipe for target 'rpcrawtransaction.o' failed
make[3]: *** [rpcrawtransaction.o] Error 1
make[3]: Leaving directory '/home/brandon/zetacoin/src'
Makefile:859: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/brandon/zetacoin/src'
Makefile:651: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/brandon/zetacoin/src'
Makefile:508: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1