Skip to content
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

Requirements. #131

Open
vitaliylag opened this issue Jan 25, 2019 · 0 comments
Open

Requirements. #131

vitaliylag opened this issue Jan 25, 2019 · 0 comments

Comments

@vitaliylag
Copy link

vitaliylag commented Jan 25, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant