Bulid GeoTiff
Please download GDAL. LibTiff and libGeoTiff pacakge for OSGEO Download.
Download Source code
Download GDAL:
Note: After Gdal version 2.3, the following 14 versions of MSVC are no longer supported. Please download version 2.2.4 package.
Download LibTiff-4.0.10.
Note: For this build to work you must use libtiff version v3.6.0 alpha or newer.
Download LibGeoTiff-1.4.2.
Build LibTiff
- Into visual studio 13 install folser:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\Shortcuts
- 右键管理员打开VS2013 x64 Cross Tools Command Prompt.
Note: Build x64 open VS2013 x64 Cross Tools Command Prompt.
Build x86 open VS2013 ARM Cross Tools Command Prompt.
- cd to LibTiff folder
D:
cd D:\Umanaged\Gdal_224\tiff-4.0.10
- Build Gdal:
nmake /f makefile.vc
Build LibGeoTiff
- Into visual studio 13 install folser:
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\Shortcuts
- 右键管理员打开VS2013 x64 Cross Tools Command Prompt.
Note: Build x64 open VS2013 x64 Cross Tools Command Prompt.
Build x86 open VS2013 ARM Cross Tools Command Prompt.
- Modify nmake.opt:
- a. Change ‘OSGEO4W = c:\OSGeo4W’ to
OSGEO4W = D:\Umanaged\Gdal_224\tiff-4.0.10
- b. Change 'TIFF_INC = -IKaTeX parse error: Expected 'EOF', got '\include' at position 10: (OSGEO4W)\̲i̲n̲c̲l̲u̲d̲e̲' to <p><code>T…(OSGEO4W)\libtiff
- c. Change ‘TIFF_LIB_DLL = $(OSGEO4W)\lib\libtiff_i.lib’ to
TIFF_LIB_DLL = $(OSGEO4W)\libtiff\libtiff_i.lib
- cd to LibGeoTiff folder
D:
cd D:\Umanaged\libgeotiff-1.4.2
- Build Gdal:
nmake /f makefile.vc
nmake /f makefile.vc devinstall