P
P
Peter2016-02-16 16:01:32
npm
Peter, 2016-02-16 16:01:32

How to install bignum under windows?

When installing bignum with the npm install bignum command, an error appears

C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\xlocale(337): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc [D:\OpenServer\home\api\node_modules\bignum\build\bignum.vcxproj]
..\bignum.cc(9): fatal error C1083: Cannot open include file: 'openssl/bn.h': No such file or directory [D:\OpenServer\home\api\node_modules\bignum\build\bignum.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` failed with exit code: 1

I have Microsoft Visual Studio 2013 ultimate installed.
I tried to run the installation with the command npm install bignum --msvs_version=2013, but the result is the same.
How to fix the error and install bignum ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2016-02-21
@SaNNy32

Obviously install OpenSSL
https://github.com/justmoon/node-bignum/issues/32

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question