35 | | 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++'' (e.g. in Microsoft Visual Studio 14.0). |
36 | | |
37 | | In this case, following lines in the source file `mswindows/osgeo4w/mklibs.sh` should look like: |
38 | | |
39 | | {{{ |
40 | | PROGRAMFILES="/c/Program Files (x86)" |
41 | | VSDIR="$PROGRAMFILES/Microsoft Visual Studio 14.0" |
42 | | PATH="$VSDIR/Common7/IDE:$PATH" |
43 | | PATH="$VSDIR/VC/bin:$PATH" |
44 | | PATH="$VSDIR/Common7/Tools:$PATH" |
45 | | PATH="$PATH:/c/OSGeo4W${OSGEO4W_POSTFIX}/bin" |
46 | | }}} |
47 | | |
48 | | In newer MS Visual Studio versions, Visual Studio Community can be installed instead. |
49 | | |
50 | | In 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: |
51 | | |
52 | | {{{ |
53 | | PROGRAMFILES="/c/Program Files (x86)" |
54 | | VSDIR="$PROGRAMFILES/Microsoft Visual Studio/2017/Community" |
55 | | PATH="$VSDIR/Common7/IDE:$PATH" |
56 | | PATH="$VSDIR/VC/Tools/MSVC/14.16.27023/bin/Hostx64/x64:$PATH" |
57 | | PATH="$VSDIR/Common7/Tools:$PATH" |
58 | | PATH="$PATH:/c/OSGeo4W${OSGEO4W_POSTFIX}/bin" |
59 | | }}} |
| 35 | 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++''. |