Post
Topic
Board Altcoin Discussion
Re: Error Compiling Zetacoin Ubuntu
by
gjhiggins
on 03/01/2016, 16:51:22 UTC
Hello,

I have been trying to compile Zetacoin. I have overcome a few errors, but this one has been stumped. Any help?

Code:
rpcrawtransaction.cpp:299:77:   required from here

Here's a diff-generated patch that will fix that particular OS-related issue ...

Code:
--- 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