-
Notifications
You must be signed in to change notification settings - Fork 16
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Error building on windows #1
Comments
Thank you for using my project and I'm sorry I didn't get back to you sooner, I was traveling. I have to admit that before now I had never tried to build the project on Windows. I had copied the gyp configuration from another node module that uses OpenSSL and hoped it would work. So I just gave it a try on Windows to see what happens. Here are the steps I took:
Then I ran
So aside of some warnings (which I should look into), it seemed to work. I ran the node REPL and tried to encrypt and decrypt some stuff and that seemed to work too. Is this what you were trying to do? Do these pointers help in any way? |
That looks similar to what I had tried -- I'll give it another go and see what happens. :) |
5 hours later and I've managed to compile successfully. I had to specify the visual studio version (http://www.kevgriffin.com/specifying-visual-studio-version-in-npm-installs/) when installing to get it to work. Unfortunately it doesn't seem to want to execute when called.
|
I wish I had some idea why it doesn't work, or how to reproduce your problem. |
After a lot of research, reinstalling, testing, it seems the issue is not with node-aes-gcm but with node-webkit. Reference: nwjs/nw.js#199 After renaming my executable the encryption works fine. I guess I'll have to wait and see if it gets fixed but for now I can just edit my build script for Windows. :) |
Great, thanks for letting me know! |
Hi,
I'm not a C++ developer, nor a Windows user, so unfortunately I'm not able to debug this myself. The build works like magic on Linux.
Firstly I received an error stating it couldn't find OpenSSL -- simple enough to fix. I did have to use Visual Studio 2010 to get to the point where the error wouldn't show as I needed to include the OpenSSL library which Windows couldn't find.
I then received the following error:
And this is where I cannot proceed.
Other information:
OS: Windows 7 64bit
node-aes-gcm: 0.1.3
I'm using node-webkit and
nw-gyp build
to build. (This shouldn't be related to the problem)Any help/pointers would be appreciated.
The text was updated successfully, but these errors were encountered: