2005-03-26 COMPILING FOR VISUAL STUDIO --------------------------- 1. Unpack the file mapquant-src-win32-vc-YYYY-MM-DD.tar.gz, lets call the path where it was unpacked INSTALATION_SRC_DIR For this example we assume that: INSTALATION_SRC_DIR = C:\dev When you unpack everything will be in C:\dev\mapquant 2. BEFORE opening Visual Studio you have to have perl and bison installed NOTE: If you do not have cygwin then: bison can be downloaded from http://ftp.gnu.org/gnu/bison/ perl can be downloaded from http://www.activestate.com/Products/ActivePerl/ After you install bison and perl set the following environment variables to point to their executable respectively. BISON and PERL for example for bison C:\cygwin\bin\bison.exe 2. Open workspace mapquant.dsw found in INSTALATION_SRC_DIR/mapquant 3. Compile the mapquant project INSTALLING FOR WIN32 -------------------- Lets call the path where you want to install mapquant INSTALATION_DIR It is a good habit for INSTALATION_DIR to be diferrent from the INSTALATION_SRC_DIR mentioned above, which was set to C:\dev For this example we assume that: INSTALATION_DIR = C:\ NOTE: Filenames and directories must not have spaces. This includes the SRC and DEST directories. If you try to use DOS type of workarounds (eg. C:\progra~1\) then you may need to manually edit .mapquantrc as these get expanded. 1. Run install-vc.pl Run .\install-vc.pl -i "C:" 2. Set environment variables PATH, PERL5LIB, MAPQUANT_PATHFILE set PATH to C:\mapquant\bin set PERL5LIB to C:\mapquant\bin set MAPQUANT_PATHFILE to C:\mapquant\.mapquantrc