Cygwin


Install packages needed for "FLOW"
Install following packages from setup.exe of Cygwin.
Devel:
gcc4-core (4.5.3-3)
make (3.82.90-1)
pkg-config (0.23b-10)
libxml2-devel (2.8.0-1)
libpng15-devel (1.5.12-1)
libjpeg-devel (8b-1)
Web:
curl (7.27.0-1)
libcurl-devel (7.27.0-1)
Shells:
tcsh (6.18.01-1)

important assuming the working directory is $HOME/tmp.
Install lua-5.2.1
[~/tmp]$ wget http://www.lua.org/ftp/lua-5.2.1.tar.gz
[~/tmp]$ tar zxvf lua-5.2.1.tar.gz
[~/tmp]$ cd lua-5.2.1
[~/tmp/lua-5.2.1]$ make posix
[~/tmp/lua-5.2.1]$ make install
[~/tmp/lua-5.2.1]$ cd ..

Install cfitsio
[~/tmp]$ wget ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/cfitsio3370.tar.gz
[~/tmp]$ tar zxvf cfitsio3370.tar.gz
[~/tmp]$ cd cfitsio
[~/tmp/cfitsio]$ ./configure
[~/tmp/cfitsio]$ make
[~/tmp/cfitsio]$ cd ..

Install SPICE Toolkits for C
[~/tmp]$ wget ftp://naif.jpl.nasa.gov/pub/naif/toolkit/C/PC_Cygwin_GCC_32bit/packages/cspice.tar.Z
[~/tmp]$ tar zxvf cspice.tar.Z
[~/tmp]$ cd cspice
[~/tmp/cspice]$ csh make.csh
[~/tmp/cspice]$ cd ..

Install "FLOW"
[~/tmp]$ wget https://darts.isas.jaxa.jp/planet/tools/flow/flow-1.3.tar.gz
[~/tmp]$ tar zxvf flow-1.3.tar.gz
[~/tmp]$ cd flow-1.3
[~/tmp/flow-1.3]$ ./configure --with-lua-prefix=/usr/local --with-cfitsio=$HOME/tmp/cfitsio \
--with-cspice=$HOME/tmp/cspice --enable-wms
[~/tmp/flow-1.3]$ make
[~/tmp/flow-1.3]$ su
[~/tmp/flow-1.3]$ make install

license and policy

darts c-soda isas jaxa