5 | | But if you're a GDAL developer, you probably want to compile GDAL by yourself. It is possible to compile GDAL in Mac OS, following the instructions from http://www.kyngchaos.com/macosx/build/gdal, but some important things must be taken into account. These are the steps I've followed: |
| 6 | |
| 7 | If you are looking to build GDAL, you have various options. Here are two: |
| 8 | |
| 9 | '''The Homebrew way''' |
| 10 | |
| 11 | 1.- Follow the instructions to install Homebrew http://mxcl.github.com/homebrew/ |
| 12 | |
| 13 | 2.- Compile and install the current release version of gdal |
| 14 | {{{ |
| 15 | brew install gdal |
| 16 | }}} |
| 17 | This will bring any dependencies necessary (PROJ/GEOS/etc) with it, download them and install them. |
| 18 | |
| 19 | If you want to compile the trunk version of GDAL instead, you can use the following command instead: |
| 20 | {{{ |
| 21 | brew install gdal --HEAD |
| 22 | }}} |
| 23 | |
| 24 | If you want to Compile and Debug using XCode use brew to install gdal, then follow the instructions to setup XCode from here: |
| 25 | |
| 26 | http://blog.burhum.com/post/35555678746/debugging-makefile-based-projects-using-xcode-gdal-as |
| 27 | |
| 28 | |
| 29 | '''The Framework way''' |
| 30 | |
| 31 | It is possible to compile GDAL in Mac OS, following the instructions from http://www.kyngchaos.com/macosx/build/gdal, but some important things must be taken into account. These are the steps I've followed: |