| 140 | == 5. Compiling Proj == |
| 141 | Download Proj4 from the web site, and the datum shifts grid file. |
| 142 | |
| 143 | * http://download.osgeo.org/proj/proj-4.7.0.tar.gz |
| 144 | * http://download.osgeo.org/proj/proj-datumgrid-1.5.zip |
| 145 | |
| 146 | and copy to c:\projects\proj |
| 147 | The datum grid file must be unzipped into the "nad" subdirectory of the Proj4 source tree. |
| 148 | {{{ |
| 149 | |
| 150 | cd /c/projects/proj |
| 151 | tar xvfz proj-4.6.1.tar.gz |
| 152 | cd proj-4.6.1 |
| 153 | cd nad |
| 154 | unzip ../../proj-datumgrid-1.5.zip |
| 155 | cd .. |
| 156 | ./configure --prefix=/c/projects/proj/rel-4.7.0 --build=i686-w64-mingw32 --host=i686-w64-mingw32 --target=i686-w64-mingw32 --enable-shared --disable-static |
| 157 | make |
| 158 | make install |
| 159 | }}} |
| 160 | |