Changes between Version 20 and Version 21 of CompileOnWindows


Ignore:
Timestamp:
Mar 18, 2009, 9:23:07 PM (15 years ago)
Author:
cnielsen
Comment:

added PROJ.4

Legend:

Unmodified
Added
Removed
Modified
  • CompileOnWindows

    v20 v21  
    245245
    246246
     247=== PROJ.4 ===
     248
     2491. Download PROJ.4 from [ftp://ftp.remotesensing.org/proj/proj-4.6.0.tar.gz here]
     250
     2512. Unpack to c:\osgeo4w\usr\src
     252
     2533. Download the US, Canadian and New Zealand datum shift grids from [ftp://ftp.remotesensing.org/proj/proj-datumgrid-1.3.zip here]
     254
     2554. Unpack to c:\osgeo4w\usr\src\proj-4.6.0\nad
     256
     2575. In MSYS console, type:
     258{{{
     259cd /osgeo4w/usr/src/proj-4.6.0
     260./configure --prefix=/osgeo4w --enable-shared --disable-static
     261make
     262make install
     263}}}
     264Because make procedure doesn't create shared library (even if enabled by configure), we need to build it manually:
     265{{{
     266cd src
     267for i in *.exe ; do rm /osgeo4w/bin/$i ; done
     268rm /osgeo4w/bin/invgeod.exe
     269rm /osgeo4w/bin/invproj.exe
     270rm *.exe
     271cd .libs
     272rm libproj.a
     273rm /osgeo4w/lib/libproj.a
     274gcc -shared -s -o libproj.dll -lm -Wl,--out-implib,libproj.a *.o
     275cd ..
     276gcc -s -g -O2 -o cs2cs.exe cs2cs.o gen_cheb.o p_series.o .libs/emess.o -L./.libs/ -lproj
     277gcc -s -g -O2 -o geod.exe geod.o geod_set.o geod_for.o geod_inv.o .libs/emess.o -L./.libs/ -lproj
     278gcc -s -g -O2 -o nad2bin.exe nad2bin.o -L./.libs/ -lproj
     279gcc -s -g -O2 -o nad2nad.exe nad2nad.o .libs/emess.o -L./.libs/ -lproj
     280gcc -s -g -O2 -o proj.exe proj.o gen_cheb.o p_series.o .libs/emess.o -L./.libs/ -lproj
     281cp proj.exe invproj.exe
     282cp geod.exe invgeod.exe
     283cd .libs
     284install libproj.a /osgeo4w/lib
     285install libproj.dll /osgeo4w/bin
     286cd ..
     287for i in *.exe ; do install $i /osgeo4w/bin ; done
     288}}}
     289
     290
    247291=== GDAL ===
    248292