secp256k1_ecdh.h No such file or directory
huigan opened this issue · 2 comments
huigan commented
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 <secp256k1_ecdh.h>
afk11 commented
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 #124
afk11 commented
Lemme know if this resolved your issue so this can be closed!