Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

secp256k1_ecdh.h No such file or directory #130

Open
huigan opened this issue Jan 10, 2019 · 2 comments
Open

secp256k1_ecdh.h No such file or directory #130

huigan opened this issue Jan 10, 2019 · 2 comments

Comments

@huigan
Copy link

huigan commented Jan 10, 2019

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
Copy link
Member

afk11 commented Jan 10, 2019

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
Copy link
Member

afk11 commented Jul 6, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants