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

Suggestion: so to avoid all those "openssl errors" on Windows #101

Open
Mayhem93 opened this issue Oct 18, 2017 · 0 comments
Open

Suggestion: so to avoid all those "openssl errors" on Windows #101

Mayhem93 opened this issue Oct 18, 2017 · 0 comments

Comments

@Mayhem93
Copy link

Mayhem93 commented Oct 18, 2017

I've come quite a long way here. Everything started with the gencrypto package which failed to install on my windows 10 machine because eccrypto was failing. Eccrypto was failing because in its bindings.gyp file the openssl lib path was static (and ofc I didn't have anything there).

But a few weeks ago I learned about https://github.com/Microsoft/vcpkg a nice tool to install libraries easily and with no hassle. Msbuild knows where all these libraries are installed and thus the linker doesn't need to know extra lib paths.

So I "fixed" eccrypto, tried rebuilding it and failed again because the secp256k1 module was failing with a weird error :

'.' is not recognized as an internal or external command,
operable program or batch file.

Tried cloning that repo and build it myself, then I stumbled on yet another issue: bignum was failing to build because of that damned openssl lib. Then I just said to myself "ok, this apparent problem is more spread than I thought".

So I decided to ask you (and others) what do you think about this solution? From a user's stand point, there's just a couple more extra steps to do: integrate install vcpkg, vcpkg install openssl .

@Mayhem93 Mayhem93 changed the title Suggestion: so to avoid all those "openssl errors" Suggestion: so to avoid all those "openssl errors" on Windows Oct 18, 2017
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

1 participant