hi all!
I got this error while compiling BT dameon on ubuntu 14,04 LTS:
src/key.cpp:17:23: fatal error: secp256k1.h: No such file or directory
#include "secp256k1.h"
^
compilation terminated.
make: *** [build/key.o] Error 1
Please help me!
Thanks
BitcoinT is dependent upon libsecp256k1 by sipa, the sources for which can be found here:
https://github.com/bitcoin/secp256k1Thank you
But now i have this one:
make: *** [build/key.o] Error 1
Did you
sudo make install
for libsecp256k1?
pls PM me output of
ls -la /usr/local/lib/libsecp*
I also have problems compiling after installing secp256k1
src/key.cpp:29:25: error: use of undeclared identifier 'SECP256K1_START_SIGN'
secp256k1_start(SECP256K1_START_SIGN);
^
src/key.cpp:32:9: error: use of undeclared identifier 'secp256k1_stop'
secp256k1_stop();
^
src/key.cpp:469:10: error: no matching function for call to 'secp256k1_ec_privkey_import'
if (!secp256k1_ec_privkey_import((unsigned char*)begin(), &privkey[0], privkey.size()))
ls -l /usr/local/lib/libsecp*
$ ls -l /usr/local/lib/libsecp*
lrwxr-xr-x 1 root admin 20 Apr 24 19:39 /usr/local/lib/libsecp256k1.0.0.0.dylib -> libsecp256k1.0.dylib
-rwxr-xr-x 1 root admin 92000 Apr 24 19:39 /usr/local/lib/libsecp256k1.0.dylib
-rw-r--r-- 1 root admin 376128 Apr 24 19:39 /usr/local/lib/libsecp256k1.a
lrwxr-xr-x 1 root admin 20 Apr 24 19:39 /usr/local/lib/libsecp256k1.dylib -> libsecp256k1.0.dylib
-rwxr-xr-x 1 root admin 967 Apr 24 19:39 /usr/local/lib/libsecp256k1.la
-rwxr-xr-x 1 root admin 48716 Jan 18 2014 /usr/local/lib/libsecp256k1.so
There was commit in project secp256k1 recently
where were made changes, which arent considered in our coin yet, but doesnt affect on wallet/daemon functional
if you want to compile wallet/daemon, you have to make reverse commit to
d5b53aa81816214aa7c9e1095ff6ee1d4c13f9d2 библиoтeки secp256k1:
git clone
https://github.com/bitcoin/secp256k1cd ./secp256k1
git checkout d5b53aa81816214aa7c9e1095ff6ee1d4c13f9d2
./autogen.sh
./configure
make
sudo make install
and after all of this you're able to build wallet/daemon