Bit-Wasp / secp256k1-php

PHP bindings for bitcoin-core/secp256k1
The Unlicense
57 stars 37 forks source link

secp256k1_ecdh.h No such file or directory #130

Open huigan opened 5 years ago

huigan commented 5 years ago

In file included from /root/secp256k1-php/secp256k1/secp256k1.c:11:0: /root/secp256k1-php/secp256k1/php_secp256k1.h:3:28: fatal error: secp256k1_ecdh.h: No such file or directory

include

afk11 commented 5 years ago

Your system is missing secp256k1_ecdh, one of upstreams optional modules. Install it like this: https://github.com/Bit-Wasp/secp256k1-php/blob/master/.travis.yml#L38

I'll eventually make those functions optional like upstream, but for now we expect the ecdh and recovery modules to be present

Make sure you're using a compatible version of upstream also, see https://github.com/Bit-Wasp/secp256k1-php/issues/124

afk11 commented 5 years ago

Lemme know if this resolved your issue so this can be closed!