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

fatal error: 'libsecp256k1-config.h' file not found #43

Open
xieyilong opened this issue Feb 13, 2019 · 3 comments
Open

fatal error: 'libsecp256k1-config.h' file not found #43

xieyilong opened this issue Feb 13, 2019 · 3 comments

Comments

@xieyilong
Copy link

fatal error: 'libsecp256k1-config.h' file not found
#include "libsecp256k1-config.h"

I meet this problem when compiling the multy-core module, it seems I
don't have the library, how to install the libsecp256k1 from ndk.

@Enmk
Copy link
Contributor

Enmk commented Feb 13, 2019

Hi! Could you please specify more details about what OS are you building on and for what platform? iOS, Android, Linux?

@xieyilong
Copy link
Author

FAILED: D:\sdk3\ndk-bundle\toolchains\llvm\prebuilt\windows-x86_64\bin\clang.exe --target=i686-none-linux-android21 --gcc-toolchain=D:/sdk3/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=D:/sdk3/ndk-bundle/toolchains/llvm/prebuilt/windows-x86_64/sysroot -DENABLE_MODULE_ECDH -DENABLE_MODULE_GENERATOR -DENABLE_MODULE_RANGEPROOF -DENABLE_MODULE_RECOVERY -DENABLE_MODULE_SURJECTIONPROOF -DHAVE_CONFIG_H -DMULTY_BUILD_FOR_ANDROID=1 -ID:/project/Multy-Core-master/third-party/libwally-core/src/secp256k1 -ID:/project/Multy-Core-master/third-party/libwally-core/src/secp256k1/src -ID:/project/Multy-Core-master/third-party/libwally-core/src/secp256k1/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -mstackrealign -fno-addrsig -Wa,--noexecstack -Wformat -Werror=format-security -O2 -DNDEBUG -fPIC -std=c89 -MD -MT third-party/libwally-core/CMakeFiles/secp256k1.dir/src/secp256k1/src/secp256k1.c.o -MF third-party\libwally-core\CMakeFiles\secp256k1.dir\src\secp256k1\src\secp256k1.c.o.d -o third-party/libwally-core/CMakeFiles/secp256k1.dir/src/secp256k1/src/secp256k1.c.o -c D:\project\Multy-Core-master\third-party\libwally-core\src\secp256k1\src\secp256k1.c
In file included from D:\project\Multy-Core-master\third-party\libwally-core\src\secp256k1\src\secp256k1.c:9:
D:/project/Multy-Core-master/third-party/libwally-core/src/secp256k1/src/util.h:11:10: fatal error: 'libsecp256k1-config.h' file not found
#include "libsecp256k1-config.h"
^~~~~~~~~~~~~~~~~~~~~~~

I use your lib to build android wallet app in android studio, i am running windows 7 system

@Enmk
Copy link
Contributor

Enmk commented Mar 22, 2019

Thanks for the details!

Unfortunately, we've never meant it to be buildable on Windows machines (only checked on Linux and MacOS), and we don't event have one to test against.

However, you may want to check out libwallycore from original repo, configure it on windows and replace version located in third-parties in your project with that.

Please let me know if you have any success with that.

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

No branches or pull requests

2 participants