Skip to content

Instantly share code, notes, and snippets.

@avoidik
Last active February 22, 2019 16:17
Show Gist options
  • Select an option

  • Save avoidik/f0ae45f4d91149556c5842e21b7065d2 to your computer and use it in GitHub Desktop.

Select an option

Save avoidik/f0ae45f4d91149556c5842e21b7065d2 to your computer and use it in GitHub Desktop.
Install Will on Windows
  • visual studio is required (here)
  • python for windows is required
  • from command-line (check path to stdint.h first)
pip install -U setuptools wheel virtualenv
virtualenv venv
venv\Scripts\activate.bat
set CL=-FI"%VCINSTALLDIR%\Tools\MSVC\14.14.26428\include\stdint.h"
pip install will
  • in case of error copy rc.exe and rcdll.dll into proper bin folder (depends on architecture, for example bin\x86_amd64), in my case this was:
copy C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x64\rc.exe C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\
copy C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x64\rcdll.dll C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\
  • generate a project
generate_will_project
pip install -r requirements.txt
set PYTHONIOENCODING=utf-8
python run_will.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment