Changes between Version 6 and Version 7 of BuildAndInstall


Ignore:
Timestamp:
Jan 29, 2017 2:58:17 PM (2 years ago)
Author:
tkr
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildAndInstall

    v6 v7  
    307307
    308308  1. First, install either MSys2 or CYGWIN
    309     * To install MSys2, download and unzip/tar http://kent.dl.sourceforge.net/project/msys2/Base/x86_64/msys2-base-x86_64-20150512.tar.xz
     309    * To install MSys2, download the installer [https://msys2.github.io/ here]
    310310    * To install CYGWIN, go [https://cygwin.com/install.html here]
     311
    311312  2. Modify your Windows path.
    312     * For Msys2 Add {{{msys64\usr\bin}}}, {{{msys64\mingw32\bin}}}, and
    313     {{{msys64\mingw32\bin}}} to your Windows path.
    314     * For CYGWIN, add the CYGWIN bin directory to your Windows path (probably
     313    * For Msys2, add the MSys2 {{{bin}}} {{{msys64\usr\bin}}} to your Windows {{{PATH}}}.
     314    * For CYGWIN, add the CYGWIN {{{bin}}} directory to your Windows {{{PATH}}} (probably
    315315    {{{cygwin64\bin}}}).
    316316
    317317  3. Open a Windows terminal.
    318  
     318
    319319  4. If building with the Visual Studio compiler, execute {{{vcvarsall.bat}}}.
    320    
     320
    321321  5. At the command prompt, type {{{bash}}}.
    322322
    323   6. At the {{{bash}}} prompt, do
    324   {{{
    325   pacman -S make wget tar patch dos2unix diffutils svn
    326   svn co https://projects.coin-or.org/svn/SYMPHONY/stable/5.6 SYMPHONY-5.6
    327   }}}
    328   Then next
     323  6. Install required packages:
     324    * For MSys2, at the {{{bash}}} prompt, do
     325    {{{
     326    pacman -S make wget tar patch dos2unix diffutils svn
     327    svn co https://projects.coin-or.org/svn/SYMPHONY/stable/5.6 SYMPHONY-5.6
     328    }}}
     329    * For CYGWIN, install gcc, gfortran, wget, tar, patch, dos2unix, and svn (and any other packages that seem to be missing)
     330
     331  7. Then next
    329332    * To build with the Visual Studio compiler, do
    330333    {{{
     
    344347    {{{
    345348    pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-gcc-fortran
    346     export PATH=$PATH:/mingw63/bin
     349    export PATH=$PATH:/mingw64/bin
    347350    ./configure --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32
    348351    make
     
    353356  for that case.
    354357
    355   4. To test SYMPHONY after building, type
     358  8. To test SYMPHONY after building, type
    356359
    357360  {{{make test}}}
     
    382385  file {{{symphony.sln}}}.
    383386
    384   1. Note that there are a number of additional preprocessor definitions that
     387  2. Note that there are a number of additional preprocessor definitions that
    385388  control the functionality of SYMPHONY. These definitions are described in
    386389  {{{sym.mak}}}, a Unix-style makefile included in the distribution. To enable
     
    392395  library to the solution
    393396
    394   1. Make sure that the project {{{symphony}}} is set as the startup project by
     397  3. Make sure that the project {{{symphony}}} is set as the startup project by
    395398  choosing "Set as Startup Project" from the Project menu after selecting the
    396399  symphony project in the Solution Explorer. Choose {{{Build Solution}}} from
     
    398401  the corresponding executable.
    399402
    400   1. To test the executable, go to the {{{Debug}}} tab and choose {{{Start
     403  4. To test the executable, go to the {{{Debug}}} tab and choose {{{Start
    401404  Without Debugging.}}} and then type {{{help}}} or {{{?}}} to see a list of
    402405  available commands.
     
    423426  code. The API for calling SYMPHONY is described in the user's manual.
    424427
    425   1. To test the executable, type
     428  2. To test the executable, type
    426429
    427430  {{{symphony.exe -F ..\..\SYMPHONY\Datasets\sample.mps}}}
     
    460463  C/C++ code. The API for calling SYMPHONY is described in the user's manual.
    461464
    462   3. To test the executable, type
     465  2. To test the executable, type
    463466
    464467  {{{symphony.exe -F ..\..\SYMPHONY\Datasets\sample.mps}}}