Code Monkey home page Code Monkey logo

Comments (11)

ry avatar ry commented on August 28, 2024

I agree, if at all possible we should target Express.

from libuv.

piscisaureus avatar piscisaureus commented on August 28, 2024

It currently doesn't build in express because it doesn't build at all.

from libuv.

bigeasy avatar bigeasy commented on August 28, 2024

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.

piscisaureus avatar piscisaureus commented on August 28, 2024

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.

bigeasy avatar bigeasy commented on August 28, 2024

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.

rmtew avatar rmtew commented on August 28, 2024

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.

rmtew avatar rmtew commented on August 28, 2024

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.

nikolaybotev avatar nikolaybotev commented on August 28, 2024

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.

nikolaybotev avatar nikolaybotev commented on August 28, 2024

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.

gigi81 avatar gigi81 commented on August 28, 2024

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.

gigi81 avatar gigi81 commented on August 28, 2024

Fixed on #504

from libuv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.