Post
Topic
Board Announcements (Altcoins)
Re: [ANN] CRAVE 1st POS Masternodes | Dark Assets | Markets Soon =Embrace The Dark=
by
trader19
on 15/04/2015, 08:07:34 UTC
Getting this when trying to compile daemon with latest secp256k1 installed:  

Code:
key.cpp:729:106: error: cannot convert ‘unsigned char*’ to ‘const secp256k1_context_t* {aka const secp256k1_context_struct*}’ for argument ‘1’ to ‘int secp256k1_ec_pubkey_tweak_add(const secp256k1_context_t*, unsigned char*, int, const unsigned char*)’
     bool ret = secp256k1_ec_pubkey_tweak_add((unsigned char*)pubkeyChild.begin(), pubkeyChild.size(), out);
                                                                                                          ^
make: *** [obj/key.o] Error 1

I'm assuming because as was mentioned,  crave daemon does not currently support latest secp256k1 ?

Had to do this to get it to actually reset/rollback and successfully compile:
Code:
git clone https://github.com/bitcoin/secp256k1
cd secp256k1
git reset a0d3b8
git add .
git reset --hard
./autogen.sh
./configure
make
sudo make install
cd ..
sudo ldconfig

cd crave/src
make -f makefile.unix USE_UPNP=
strip craved

tvm wil test and confirm  Smiley
@rocoro that did the trick  Smiley thank you very much.