Comments (11)
I agree, if at all possible we should target Express.
from libuv.
It currently doesn't build in express because it doesn't build at all.
from libuv.
I know.
I'm noting that I get a warning message that "Solution Items" are not supported. An there is grayed area in the sidebar.
I noting this before someone sinks eight hours into the perfect "Solution Items" configuration.
from libuv.
VS express 2010 will be supported. If there are problems, you should indeed create a an issue.
Wrt. the "solution items", it's just a stale reference. I'll remove it in a minute.
from libuv.
Thank you. If in the future there's a new issue, I'll reopen this issue so that we can keep the conversation in one place.
from libuv.
I just cloned this, opened up a Visual Studio 2010 Express command prompt and typed "vcbuild.bat". It failed to build any of the three projects (main, test and benchmark) due to inability to find "stdint.h" for each.
d:\VCS\GIT\libuv-clone\include\uv.h(35): fatal error C1083: Cannot open include file: 'stdint.h': No such file or direc
tory [D:\VCS\GIT\libuv-clone\uv.sln]
...
I can get it to compile by making the following approximate addition in the three respective places, but it is clearly not the correct solution.
'include_dirs': [ ...
-
'C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/include', ],
from libuv.
Okay, this was because it generated VC2008 Express solutions and projects, which do not appear to have "stdint.h". Presumably if I can get it to use 2010 instead, it will just work.
from libuv.
Hi what is the status of this exactly? I just cloned libuv and gyp generates vs2008 project files for me still. I have both vs2008 ultimate and 2010 ultimate installed. Is there a way to tell gyp to generate vs2010 project files?
from libuv.
I figured out this is a gyp issue. I am posting here for other unfortunate souls who stumble upon the same issue:
If multiple versions of Visual Studio are installed, gyp picks 2008 first, then 2005, then 2010 (as of time of this writing):
http://code.google.com/p/gyp/source/browse/trunk/pylib/gyp/MSVSVersion.py#207
To force gyp to generate VS 2010 projects, the easiest way is to set the GYP_MSVS_VERSION environment variable to 2010.
http://code.google.com/p/gyp/source/browse/trunk/pylib/gyp/MSVSVersion.py#245
Cheers,
-Nikolay
from libuv.
The Nikolay post was really helpfull, thanks.
For others that stumble on this add this:
set GYP_MSVS_VERSION=2010
in the first lines of vcbuild.bat
from libuv.
Fixed on #504
from libuv.
Related Issues (20)
- src/win/fs.c have not ANSI character, generate warning C4819. HOT 2
- socks server sample - conn structure bug HOT 2
- handle->write_queue_size >= req->queued_bytes HOT 4
- Invalid write when closing process handle after 1.0.0-rc1 HOT 7
- File system events stop working after file editing with vim HOT 1
- threadpool: add an runtime API analogous to UV_THREADPOOL_SIZE HOT 3
- v0.10: tests don't compile on Windows HOT 2
- libuv 1.0.0: tests fail if ipv6 is missing HOT 2
- Put back dtrace probes HOT 1
- libuv-1.0.0-stable fail in uv_winsock_init HOT 1
- On assertion failling (Darwin Kernel Version 14.0.0) HOT 1
- Creation of full duplex pipe via spawn causes deadlock on Windows. HOT 2
- Utilize lock-free queue for worker thread pool HOT 3
- OSX 10.10.2 issues. HOT 1
- Can i use libuv in IOS project? HOT 1
- -
- make error : make: *** [libuv.la] Error 1 HOT 1
- can uv_timer_start be called multiple times? HOT 1
- make check "check-am" failing
- Accidentally created. Sorry!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libuv.