[R-sig-Geo] rgdal Windows change Path to GDAL shared files / not all the Drivers
gilles2604
gilles.entringer at hotmail.fr
Sat Jun 2 17:03:16 CEST 2012
Ok, I really try to understand the READ ME, but its quiet difficult to me
because i'm not used to windows...
What i fond was this:
/Run in OSGeo4W console, after setting:
set OSGEO4W_BUILD=yes
set GDAL_HOME=%OSGEO4W_ROOT%
cd rgdal/src
cl /MT /Ox /EHsc /D "WIN32" /c /I "C:/Program Files/R/R-2.8.1/include" /I
C:/OSGeo4W/include /I "C:\Program Files\Microsoft Visual Studio
9.0\VC\include" /D OSGEO4W *.cpp
link /dll /out:rgdal.dll /def:rgdal.def *.obj "C:\Program
Files\R\R-2.8.1\bin\Rdll.lib" /libpath:"C:\Program Files\Microsoft Visual
Studio 9.0\VC\lib" /libpath:"C:\Program Files\Microsoft
SDKs\Windows\v6.0A\Lib" /libpath:"C:\OSGeo4W\lib" gdal_i.lib proj_i.lib
cd ../..
Set Makefile.win as below to all:!!
R CMD INSTALL --build rgdal/
So I have a few questions:
1. OSGeo4W console is this the OSGeo4W shell (simple shell with OSGeo4W as
administrator?)
2. Do I have to run all these commands in this shell?
3. when I do cl... i get the following message: cl is not recognized as a
command...
I'm really desperate, it is the last part of my work...
Maybe you can help me?
Thanks a lot in advance
Gilles
--
View this message in context: http://r-sig-geo.2731867.n2.nabble.com/rgdal-Windows-change-Path-to-GDAL-shared-files-not-all-the-Drivers-tp7580079p7580098.html
Sent from the R-sig-geo mailing list archive at Nabble.com.
More information about the R-sig-Geo
mailing list