-------------------------------------------------------------------------------
XonGrid-xll-v1.0 Interpolation Add-in
-------------------------------------------------------------------------------

XonGrid is an Excel Add-in providing 5 functions to perform 1D, 2D, 3D, 4D and
any dimension (ND) interpolation from scattered data.

32 bits version : XonGrid.xll
64 bits version : XonGrid-w64.xll

Installing xll
-------------------------------------------------------------------------------
Extract the archive then open the add-in loader called INSTALL.xls

* Macro must be activated to use the add-in loader.
  If you are not able to activate macro, follow instructions from
  the link below to load the XonGrid add-in in Excel.
  http://office.microsoft.com/en-us/excel-help/load-or-unload-add-in-programs-HP010096834.aspx

  Since Windows Vista and Excel 2007, the usual add-in folder is %APPDATA%\Microsoft\AddIns. 
  The following command will open this folder: explorer.exe %APPDATA%\Microsoft\AddIns

Using xll
-------------------------------------------------------------------------------
The Add-in provides natives Excel functions for multi-dimension interpolation.
To use the interpolation functions, click on the fx button on the formula bar,
select the XonGrid Interp. v1.0 category, select a function then enter your data.
Examples of usage are included with the XonGrid archive.

For more details, visit http://xongrid.sourceforge.net/

Building xll
-------------------------------------------------------------------------------

Requirements:
  - xlw 5 http://xlw.sourceforge.net/index.shtml
  - MinGW with gcc, g++ and gfortran
      * For 64 bits MinGW-w64 http://mingw-w64.sourceforge.net/
      * For 32 bits MinGW http://www.mingw.org/

I recommend:
 - To use the tdm installer for MinGW-w64 http://tdm-gcc.tdragon.net/
 - To install MinGW, MinGW-w64 and xlw in paths without spaces
   (i.e. not in C:\Program Files)

It is possible to install both MinGW and MinGW-w64
e.g. in C:\mingw32 and C:\mingw64 respectively. If so:
 - It is useless to install mingw32-make with MinGW-w64
   (it is included with MinGW 32 bits)
 - Because both C:\mingw32\bin and C:\mingw64\bin are defined
   in %PATH%, use non ambiguous compilers names like mingw32-gcc.exe
   and x86_64-w64-mingw32-gcc.exe

Finally:
    Use the Make-win32.bat batch files to build the 32 bits xll
    Use the Make-win64.bat batch files to build the 64 bits xll

