0%

libuv build under windows vs2015

  1. download sourcelibuv source
  2. install python2.7,vs2015,git.
  3. case GFW, vcbuild.bat gyp git path modify.
    @rem echo git clone https://chromium.googlesource.com/external/gyp build/gyp
    @rem git clone https://chromium.googlesource.com/external/gyp build/gyp
    echo git clone https://github.com/turbulenz/gyp build/gyp
    git clone https://github.com/turbulenz/gyp build/gyp
  4. run vcbuild.bat
  5. open uv.sln, set windows SDK version & platform toolset.
    if build shared library: Configuration type : Dynamic Library(.dll)
    Additional Dependencies add:ws2_32.lib;IPHLPAPI.lib;Psapi.lib;Userenv.lib;
    
    F5 build.