Skip to content

Requirements. #131

@vitaliylag

Description

@vitaliylag

There are specified not all requirements. If you just install "windows-build-tools" and "Visual C++ Redistributable Package per Visual Studio 2013" and even MSBuild, that will not be enogh (at least in Windows 8.1). When you try to run "npm install -S libui-node" you will get MSBuild error. It seems like "windows-build-tools" does not help to install libui-node.

I could install libui-node after doing this things:

  1. Install "Visual Studio Community 2017" (free). I guess Visual Studio 2015 will be OK too.
  2. In VS install "VC++ 2015.3 v14.00 (v140) toolkit"
  3. In VS install "Windows 8.1 SDK"
  4. In VS install "Windows Universal CRT SDK"
  5. Install MSBuild 2015.
  6. Run command "npm config set msvs_version 2015"
  7. Every time after opening a console run command "set VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140"
    or to not running command every time execute or import this reg file as administator:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSBuild\ToolsVersions\14.0]
    "VCTargetsPath"="$([MSBuild]::ValueOrDefault('$(VCTargetsPath14)','$(MSBuildExtensionsPath32)\\Microsoft.Cpp\\v4.0\\V140\\'))"
    
    or:
    • open regedit
    • go to the "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\MSBuild\ToolsVersions\14.0"
    • and create string key "VCTargetsPath" with value "$([MSBuild]::ValueOrDefault('$(VCTargetsPath14)','$(MSBuildExtensionsPath32)\Microsoft.Cpp\v4.0\V140'))" (without quotes).

Please add it all to requirements. I needed to spend much time to find and understand it by myself. All steps are needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions