Installing SWIG on Windows

SWIG is a program that helps wrap C/C++ code so it can be called from higher-level languages (Python, C#, etc).

Installing on Windows is easy:

  1. Download:

shows swigwin-3.0.5 file on the download page

  1. Extract the ZIP file (e.g. C:\swigwin-3.0.5). You'll see swig.exe:

shows swig.exe in Windows explorer

  1. Add the directory to your path:

shows the path to the swigwin-3.0.5 directory being added to the system path

Done. You can test by running SWIG from a command prompt:

shows swig being executed at a command prompt


Leave a comment

What color are green eyes? (spam prevention)
Code under MIT License unless otherwise indicated.
© 2020, Downranked, LLC.