From 8e0141cc9a894618349775e011cdcab1002b8957 Mon Sep 17 00:00:00 2001 From: Bohdan Tyshchenko Date: Tue, 6 Oct 2020 04:12:50 -0700 Subject: [PATCH] Readme fix --- oss-internship-2020/gdal/raster_to_gtiff/README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/oss-internship-2020/gdal/raster_to_gtiff/README.md b/oss-internship-2020/gdal/raster_to_gtiff/README.md index 8c56a29..0e92a39 100644 --- a/oss-internship-2020/gdal/raster_to_gtiff/README.md +++ b/oss-internship-2020/gdal/raster_to_gtiff/README.md @@ -24,12 +24,16 @@ To get the latest version of both GDAL and PROJ you will need to build them from First, you should build PROJ with this [tutorial](https://proj.org/install.html#compilation-and-installation-from-source-code). After the installation, you should have a static build of libproj, remember the path as you will need to specify it later in CMake build. Then, get gdal sources using git submodules: -`git submodule add https://github.com/OSGeo/gdal/` -`git submodule update --init --recursive` +``` +git submodule add https://github.com/OSGeo/gdal/ +git submodule update --init --recursive +``` After that you can go to the GDAL sources and make a static build of libgdal: -`cd gdal/gdal` -`./configure --with_proj=/path/to/proj/` -`make static-lib` +``` +cd gdal/gdal +./configure --with_proj=/path/to/proj/ +make static-lib +``` **Note**: On the `./configure` step you should specify the path to your proj library as a `--with-proj=` argument to make everything work correctly. ### Build GDAL using dev-packages ### Build sandboxed GDAL