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 for avoiding all those openssl errors on Windows #121

Closed
Mayhem93 opened this issue Oct 18, 2017 · 1 comment
Closed

Suggestion for avoiding all those openssl errors on Windows #121

Mayhem93 opened this issue Oct 18, 2017 · 1 comment
Labels

Comments

@Mayhem93
Copy link

original issue at justmoon/node-bignum#101

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 .

@fanatid
Copy link
Member

fanatid commented Jan 9, 2020

Should not be used with v4.0.0
#160

@fanatid fanatid closed this as completed Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants