# Setup On Windows¶

Warning

On Windows the Module: vizInterface and opNav related modules are not currently working with the Basilisk 1.8.x build system. If you need this functionality, then please use Basilisk version 1.7.x for now.

The following was developed using Windows 7 and Visual Studio Community 2017 or 2019. The preferred method is to use Python 3. For now support is also provided to use the built-in Python 2, but Python 2 support is now a depreciated functionality.

## Software setup¶

In order to run Basilisk, the following software will be necessary:

## Configuration¶

Strongly recommended to stick with default 64-bit installations. Decide whether target deployment is 32 (win32) or 64 (x64) bit. Which ever chosen you will need the matching python and software for that architecture.

### Configuring Python¶

Python is installed using the Windows installer found on the Python website. Make sure to choose the correct installer for your architecture.

### Install Swig¶

The standard windows swig version 3 or 4 is suitable for Basilisk (see Configuration Instructions). Download the swig zip file, which includes swig.exe file, and unzip it into somewhere like C:/Program Files/Swig

### Configuring User Variables¶

Add SWIG and Basilisk paths into environment variables using the following steps:

• Right-click on My Computer, Select Properties

• Under the Advanced tab, Select Environment Variables

• Under the User Variables panel, Select Path, and Click Edit

• Add the swig.exe directory to your path

• Add the Basilisk library directory (path2bsk/dist3/Basilisk) to your path. Here, path2bsk is replaced with the actual path to the Basilisk folder.

PYTHON_INCLUDE = C:\Program Files\Python37\include