Cygwin Build for Windows
Cygwin provides a unix-like environment on a Windows machine, and emulates some of the functionality of a linux distribution. Downloads and more information on Cygwin is available at http://www.cygwin.com/. To compile and run SU2 in Cygwin on a Windows machine, you will need to configure Cygwin with the appropriate packages (listed below), and then continue from within Cygwin as though you were using a linux machine. In summary, the steps are:
- Download Cygwin installer
- Install Cygwin, selecting the packages necessary to compile the source code.
- Download the source code into a directory within cygwin/
- Install SU2 according to the directions for the linux installation.
Notes on installing Cygwin for first-time or beginner Cygwin users
- It is often recommended to install in a directory rather than the default C:\ location.
- The Cygwin shell will only be able to access folders that are within the cygwin\ directory; you will need to install and run SU2 inside the cygwin directory.
At the package selection step, search for the following terms and select the associated packages to install. This list is a work-in-progress, and further packages may be required or desired.
- g++, gcc compiler
- python: install the packages under the python sub-heading
- cpp: all debug, pre-processor, regular expression packages.