Changes between Version 344 and Version 345 of CompileOnWindows


Ignore:
Timestamp:
Dec 25, 2017, 1:38:45 PM (6 years ago)
Author:
hellik
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CompileOnWindows

    v344 v345  
    7878=== Optional dependecies ===
    7979
    80 Part of packaging process is also producing VC libraries using `dumpbin` command which is part of [https://www.visualstudio.com Visual Studio] framework. It's recommended to install ''Common Tools for Visual C++''.
    81 
     80Part of packaging process is also producing VC libraries using `dumpbin` command which is part of [https://www.visualstudio.com Visual Studio] framework. It's recommended to install ''Common Tools for Visual C++'' (e.g. in Microsoft Visual Studio 14.0).
     81
     82In this case, following lines in the source file `mswindows/osgeo4w/mklibs.sh` should look like:
     83
     84{{{
     85PROGRAMFILES="/c/Program Files (x86)"
     86VSDIR="$PROGRAMFILES/Microsoft Visual Studio 14.0"
     87PATH="$VSDIR/Common7/IDE:$PATH"
     88PATH="$VSDIR/VC/bin:$PATH"
     89PATH="$VSDIR/Common7/Tools:$PATH"
     90PATH="$PATH:/c/OSGeo4W${OSGEO4W_POSTFIX}/bin"
     91}}}
     92
     93In newer MS Studio versions, Visual Studio Community can be installed instead.
     94
     95In the case of newer MS Studio versions (e.g. 2017 on 64 bit platform), following lines in the source file `mswindows/osgeo4w/mklibs.sh` may look like:
     96
     97{{{
     98PROGRAMFILES="/c/Program Files (x86)"
     99VSDIR="$PROGRAMFILES/Microsoft Visual Studio/2017/Community"
     100PATH="$VSDIR/Common7/IDE:$PATH"
     101PATH="$VSDIR/VC/Tools/MSVC/14.12.25827/bin/Hostx64/x64:$PATH"
     102PATH="$VSDIR/Common7/Tools:$PATH"
     103PATH="$PATH:/c/OSGeo4W${OSGEO4W_POSTFIX}/bin"
     104}}}
    82105== Compiling and Installing GRASS GIS ==
    83106