Changes between Version 8 and Version 9 of BuildingOnMac
- Timestamp:
- Aug 28, 2020, 3:00:18 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingOnMac
v8 v9 1 If all you are looking for are pre-compiled binaries , you can find them in the KyngChaos wiki:1 If all you are looking for are pre-compiled binaries for macOS, you can get them either: 2 2 3 Last version of GDAL: http://www.kyngchaos.com/software/frameworks#gdal_complete3 1. At !KyngChaos: http://www.kyngchaos.com/software/frameworks#gdal_complete 4 4 5 But if you need to build GDAL, you have various options. Here are two: 5 2. Using [https://brew.sh Homebrew] via `brew install gdal` 6 6 7 '''The Homebrew way''' 7 Both include any dependencies necessary (PROJ/GEOS/etc). 8 8 9 1.- Follow the instructions to install Homebrew http://mxcl.github.com/homebrew/ 9 ---- 10 10 11 2.- Compile and install the current release version of gdal 12 {{{ 13 brew install gdal 14 }}} 15 This will bring any dependencies necessary (PROJ/GEOS/etc) with it, download them and install them. 11 But if you need to build GDAL, you have a couple of options. 16 12 17 If you want to compile the trunk version of GDAL instead, you can use the following command: 18 {{{ 19 brew install gdal --HEAD 20 }}} 13 1. [https://brew.sh Homebrew] can do it all for you: `brew install gdal --HEAD` 21 14 22 If you want to Compile and Debug using XCode, use brew to install gdal, then follow the instructions to setup XCode from here: 15 2. Follow the BuildingOnUnix instructions. 16 * Make sure you have [https://brew.sh Homebrew] installed, which will setup XCode & the build tools for you as well. 17 * To easily get all the available dependencies, use Homebrew: `brew install gdal —-only-dependencies` 18 * Clone the GDAL source code from Github 19 * Configure & Make following BuildingOnUnix 20 * If you want to make sure you're using Homebrew's Python, use `./configure --with-python=/usr/local/opt/python3/bin/python3` 23 21 24 http://blog.burhum.com/post/35555678746/debugging-makefile-based-projects-using-xcode-gdal-as22 If you want to Compile and Debug using XCode, use brew to install gdal, then follow the instructions to setup XCode from here: http://blog.burhum.com/post/35555678746/debugging-makefile-based-projects-using-xcode-gdal-as 25 23 24 ---- 25 26 '' !Beware! This information is old and quite possibly broken. '' 26 27 27 28 '''The Framework way'''