Changes between Version 62 and Version 63 of Cookbook gdal
- Timestamp:
- Feb 1, 2010 9:00:36 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Cookbook gdal
v62 v63 272 272 4. Ensure the configure.win, Makefile.win and RGDAL.def are all correct. 273 273 274 ## set the location of GDAL_HOME in configure.win (mine is GDAL_HOME="C:/FWTools") 275 ## Also change libgdal-1.dll to gdal_fw.dll in configure.win 276 277 Specifically, mine looks like this: 274 ## set the location of GDAL_HOME in configure.win (mine is GDAL_HOME="C:\OSGeo4W\bin") 275 ## Also change libgdal-1.dll to gdal16.dll in configure.win 276 The configure.win below includes the dll for postgres libq.dll 278 277 279 278 -//-- start configure.win … … 281 280 #!/bin/sh 282 281 if test -z "$GDAL_HOME" ; then 283 GDAL_HOME="C: /FWTools"282 GDAL_HOME="C:\OSGeo4W\bin" 284 283 fi 285 284 echo "GDAL_HOME=${GDAL_HOME}" > src/Makeconf.win … … 287 286 echo "using GDAL_HOME: ${GDAL_HOME}" 288 287 289 mkdir $DPKG/libs 290 cp ${GDAL_HOME}/bin/gdal_fw.dll $DPKG/libs 291 288 if test -z "$OSGEO4W_BUILD" ; then 289 290 if test -z "$R_PACKAGE_DIR" ; then 291 R_PACKAGE_DIR=${DPKG} 292 fi 293 294 mkdir "${R_PACKAGE_DIR}/libs" 295 cp ${GDAL_HOME}/bin/gdal16.dll "${R_PACKAGE_DIR}/libs" 296 cp ${GDAL_HOME}/bin/libexpat.dll "${R_PACKAGE_DIR}/libs" 297 cp ${GDAL_HOME}/bin/libpq.dll "${R_PACKAGE_DIR}/libs" 298 cp -r ${GDAL_HOME}/share/proj "${R_PACKAGE_DIR}" 299 cp -r ${GDAL_HOME}/share/gdal "${R_PACKAGE_DIR}" 300 echo "OSGEO= " >> src/Makeconf.win 301 302 else 303 echo "OSGEO=-DOSGEO4W" >> src/Makeconf.win 304 fi 292 305 -//-- end configure.win 293 306