Hello! How to install wallet on Ubuntu 14.04.??
I'm getting error:
key.cpp: In constructor ‘{anonymous}::CSecp256k1Init::CSecp256k1Init()’:
key.cpp:31:9: error: ‘ctx’ was not declared in this scope
ctx = secp256k1_context_create(SECP256K1_CONTEXT_SIGN);
^
key.cpp: In destructor ‘{anonymous}::CSecp256k1Init::~CSecp256k1Init()’:
key.cpp:34:35: error: ‘ctx’ was not declared in this scope
secp256k1_context_destroy(ctx);
^
key.cpp: In member function ‘bool CKey::SetPrivKey(const CPrivKey&, bool)’:
key.cpp:471:61: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
if (!secp256k1_ec_privkey_import(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &privkey[0], privkey.size()))
^
key.cpp:471:118: error: ‘secp256k1_ec_privkey_import’ was not declared in this scope
if (!secp256k1_ec_privkey_import(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &privkey[0], privkey.size()))
^
key.cpp: In member function ‘CPrivKey CKey::GetPrivKey() const’:
key.cpp:490:66: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
int ret = secp256k1_ec_privkey_export(instance_of_csecp256k1.ctx, begin(), (unsigned char*)&privkey[0], &privkeylen, fCompressed);
^
key.cpp:490:133: error: ‘secp256k1_ec_privkey_export’ was not declared in this scope
int ret = secp256k1_ec_privkey_export(instance_of_csecp256k1.ctx, begin(), (unsigned char*)&privkey[0], &privkeylen, fCompressed);
^
key.cpp: In member function ‘CPubKey CKey::GetPubKey() const’:
key.cpp:506:65: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
int ret = secp256k1_ec_pubkey_create(instance_of_csecp256k1.ctx, (unsigned char*)pubkey.begin(), &clen, begin(), fCompressed);
^
key.cpp: In member function ‘bool CKey::Sign(const uint256&, std::vector&) const’:
key.cpp:528:57: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
if (secp256k1_ecdsa_sign(instance_of_csecp256k1.ctx, hash.begin(), (unsigned char*)&vchSig[0], &nSigLen, begin(), secp256k1_nonce_function_rfc6979, NULL))
^
key.cpp: In member function ‘bool CKey::SignCompact(const uint256&, std::vector&) const’:
key.cpp:552:75: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
if (int ret = secp256k1_ecdsa_sign_compact(instance_of_csecp256k1.ctx, hash.begin(), &vchSig[1], begin(), secp256k1_nonce_function_rfc6979, NULL, &rec))
^
key.cpp:552:159: error: ‘secp256k1_ecdsa_sign_compact’ was not declared in this scope
if (int ret = secp256k1_ecdsa_sign_compact(instance_of_csecp256k1.ctx, hash.begin(), &vchSig[1], begin(), secp256k1_nonce_function_rfc6979, NULL, &rec))
^
key.cpp:552:17: warning: unused variable ‘ret’ [-Wunused-variable]
if (int ret = secp256k1_ecdsa_sign_compact(instance_of_csecp256k1.ctx, hash.begin(), &vchSig[1], begin(), secp256k1_nonce_function_rfc6979, NULL, &rec))
^
key.cpp: In member function ‘bool CKey::Load(CPrivKey&, CPubKey&, bool)’:
key.cpp:568:61: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
if (!secp256k1_ec_privkey_import(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &privkey[0], privkey.size()))
^
key.cpp:568:118: error: ‘secp256k1_ec_privkey_import’ was not declared in this scope
if (!secp256k1_ec_privkey_import(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &privkey[0], privkey.size()))
^
key.cpp: In member function ‘bool CPubKey::VerifyCompact(const uint256&, const std::vector&) const’:
key.cpp:632:10: warning: unused variable ‘fComp’ [-Wunused-variable]
bool fComp = IsCompressed();
^
key.cpp: In member function ‘bool CPubKey::IsFullyValid() const’:
key.cpp:654:60: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
if (!secp256k1_ec_pubkey_verify(instance_of_csecp256k1.ctx, begin(), size()))
^
key.cpp:654:80: error: ‘secp256k1_ec_pubkey_verify’ was not declared in this scope
if (!secp256k1_ec_pubkey_verify(instance_of_csecp256k1.ctx, begin(), size()))
^
key.cpp: In member function ‘bool CPubKey::Decompress()’:
key.cpp:669:69: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
int ret = secp256k1_ec_pubkey_decompress(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &clen);
^
key.cpp:669:104: error: ‘secp256k1_ec_pubkey_decompress’ was not declared in this scope
int ret = secp256k1_ec_pubkey_decompress(instance_of_csecp256k1.ctx, (unsigned char*)begin(), &clen);
^
key.cpp: In member function ‘bool CKey::Derive(CKey&, unsigned char*, unsigned int, const unsigned char*) const’:
key.cpp:711:70: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
bool ret = secp256k1_ec_privkey_tweak_add(instance_of_csecp256k1.ctx, (unsigned char*)keyChild.begin(), out);
^
key.cpp: In member function ‘bool CPubKey::Derive(CPubKey&, unsigned char*, unsigned int, const unsigned char*) const’:
key.cpp:730:69: error: ‘class {anonymous}::CSecp256k1Init’ has no member named ‘ctx’
bool ret = secp256k1_ec_pubkey_tweak_add(instance_of_csecp256k1.ctx, (unsigned char*)pubkeyChild.begin(), pubkeyChild.size(), out);
^
make: ** [obj/key.o] Erro 1