-
-
Notifications
You must be signed in to change notification settings - Fork 176
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
Leveldown failing to compile on win 10 #213
Comments
This looks the same as #196 |
@No9 Thanks for replying to this. I'm completely in the dark when it comes to windows these days. |
@kde99 So there isn't a solution in #196 :( Fortunately I installed the Rust plugin for VS 2013 last week and it has completely killed my VS 2013 so I am going to put 2015 on today and see if I can replicate this. My working assumption at the moment is that there has been a change to the default behavior of VS builds and we are going to need a flag of some sort. (Totally guessing right now but lets see) |
@kde99 FYI I can now replicate this locally on my VS 2015 install |
👍 |
Hey @kde99 What has happened is M$ have decided to be good citizens and start implementing some of the standard language features so we don't need to supply level implementations anymore. The immediate workaround is to replace
in /deps/leveldb/port-libuv/port_uv.h With
And delete this file completely This should compile for you with a single warning but that should be ok.
After I work up the strength to look at gyp config ill try and figure out the best way to manage the exclusion of the win/stdint.h and that bothersome warning then make a pull request. |
I have the same problem after installing Visual Studio 2015. Is there anything new on this matter? |
So I couldn't work out how to determine the actual version of MSVC being used to compile when node-gyp runs under |
same problem here this completely blocks building most of my node projects using Somehow this worked on my last windows machine but not on this brand new one. I had to install VS2015 just for leveldown. If I understand correct, things would work with older versions of VS? update: |
OK Deleted the previous message because I got it wrong and thought 1.4.3 was out |
@No9 We use Greenkeeper for PouchDB, so we'll get the new leveldown whenever someone releases it. 😃 |
Absolutely. I didn't think we needed a new release, sorry for the inconvenience :) |
@No9 I'll take this opportunity to bump dependencies as well |
1.4.3 released, awaiting @mafintosh to push the button for prebuilts |
OK I can still recreate the issue @barbalex is seeing on the 1.4.3 release. If the user sets the environment variable MSVS_VERSION to 2015 then it works as expected Thanks |
@raymens What OS are you running and which version of leveldown are you trying to install? There should be prebuilt binaries available for most OSes now. |
@ralphtheninja W10 and trying to install latest (1.4.3) |
@raymens I'm curious why you aren't getting one from https://github.com/Level/leveldown/releases/tag/v1.4.3 .. mind doing |
I use Win10 and VS2015, I have the same problem. npm info lifecycle tar@2.2.1
install:prebuild ▐ ╢█████████████████████████████████████████████prebuild info begin Prebuild version 2.7.1 |
It seems there is a problem with @No9 Any idea what's going on? |
I have the same problem as Raymens, but I'm on x86. My problem seems to arise because of no ia32 build existing. Pretty sure you could just use the x86 compilation, just have a copy named |
The only purpose is that it was never built |
Well, will this bug be fixed soon? |
Technically it's not a bug since you can compile the code yourself (assuming your environment is setup for this). @No9 @mafintosh We had |
Sorry @ralphtheninja long story but my 32 builder has died and I won't have another win machine for a while. |
Ok! No worries :) Anyone that would like to help out with this? |
Having the same problems as others here, whenever I try |
Sorry, somehow missed this one. I'm on it |
@kde99 @thunder7553 @barbalex @raymens @TheGoGlider Can you guys make sure you can compile the code now? |
@ralphtheninja @obastemur yes, I've just compiled Leveldown@1.4.1. Thanks! |
Released in 1.4.4 |
Oops, my bad. It is indeed 1.4.4 :) |
@ralphtheninja, I'm not sure who to contact, but the win32 prebuilt files haven't been uploaded to the release for 1.4.4 in GitHub. I'm having issues on my build server because it can't download non-existent files. |
@kraihn I just built them. Try again please. |
@ralphtheninja, it's working again. Thanks! |
Hello everyone!
I'm trying to install level and it fails at installing leveldown. I have windows 10 and visual studio 2015 (newly installed) also the newest node-gyp (v2.0.2) Nodejs is 0.12.7 my pc is a 64bits system. The headers are not missing and there are placed in the correctly.
![image](https://cloud.githubusercontent.com/assets/1770220/9430290/7d45523e-49ef-11e5-9790-8a23653dbc28.png)
![image](https://cloud.githubusercontent.com/assets/1770220/9430300/29642c8e-49f0-11e5-9a89-44eebdd6004b.png)
npm-debug.log
The text was updated successfully, but these errors were encountered: