[HelpOnLanguages] [TitleIndex] [WordIndex]

VersionsControl

Package 1

Start at 2008/02/19

Terralib v-3-2-0-RC3

Step 01

Make the directory:

C:\terralib 

Into this directory, download the TerraLib source code at: http://www.dpi.inpe.br/terralib, and the TerraView source code at: http://www.dpi.inpe.br/terraview.

Use the CVS and download the v-3-2-0-RC3 version of each module:

Step 02

Open the solution file above and build the Debug and Release:

C:\terralib\terraView\windows\terraView.sln 

Note: The terraView.sln include the TerraLib projects.

Step 03

Make the environment variable:

TERRALIB_HOME=C:\terralib 

GDAL 1.5.0

Step 01

Download the GDAL lib at http://www.gdal.org/ (version 1.5.0 - gdal150.zip).

Unpacking the zip file in:

C:\gdal 

Step 02

Execute in the directory that was been unpacking:

C:\gdal\gdal-1.5.0>vcvars32.bat 

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin 

Step 03

Open the nmake.opt file in a text editor.

C:\gdal\gdal-1.5.0\nmake.opt 

Change the line:

GDAL_HOME = "C:\warmerda\bld" 

to:

GDAL_HOME = "C:\gdal\gdal-1.5.0\bld" 

* Note: If the enviromente variable was already defined comment the lines:

!IFNDEF GDAL_HOME 
!ENDIF

The nmake.opt file will must be like that:

#!IFNDEF GDAL_HOME (-)
GDAL_HOME = "C:\omte\gdal\gdal-1.5.0\bld"
#!ENDIF

Change the line:

VCDIR = D:\Software\VStudio\VC98 

to:

VCDIR = C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7 

Step 04

Execute:

C:\gdal\gdal-1.5.0>submake.bat 

Execute:

C:\gdal\gdal-1.5.0>nmake /f makefile.vc devinstall 

Step 05

Make the enviromente variable:

GDAL_HOME = C:\gdal\gdal-1.5.0\bld 

WCS Optional

If you want to build GDAL with WCS driver follow the steps below berfore the Step 04:

1

Donwload libcurl at http://curl.haxx.se. I use the win32 binaries (http://my.guardpuppy.com/libcurl-7.15.1-msvc-win32-ssl-0.9.8a-zlib-1.2.3.zip).

2

Open the nmake.opt file in a text editor and change the lines:

# Uncomment to use libcurl (DLL by default) 
# The cURL library is used for WCS, WMS, GeoJSON, SRS call importFromUrl(), etc.
#CURL_DIR=C:\curl-7.15.0
#CURL_INC = -I$(CURL_DIR)/include
# Uncoment following line to use libcurl as dynamic library
CURL_LIB = $(CURL_DIR)/libcurl_imp.lib wsock32.lib wldap32.lib winmm.lib
# Uncoment following two lines to use libcurl as static library
#CURL_LIB = $(CURL_DIR)/libcurl.lib wsock32.lib wldap32.lib winmm.lib
#CURL_CFLAGS = -DCURL_STATICLIB

to:

# Uncomment to use libcurl (DLL by default)
# The cURL library is used for WCS, WMS, GeoJSON, SRS call importFromUrl(), etc.
CURL_DIR=C:\dev\libcurl\win32
CURL_INC = -I$(CURL_DIR)/include
# Uncoment following line to use libcurl as dynamic library
CURL_LIB = $(CURL_DIR)/libcurl_imp.lib wsock32.lib wldap32.lib winmm.lib
# Uncoment following two lines to use libcurl as static library
#CURL_LIB = $(CURL_DIR)/libcurl.lib wsock32.lib wldap32.lib winmm.lib
#CURL_CFLAGS = -DCURL_STATICLIB

Proj.4 4.6.0

Step 01

Download the Proj4 lib at http://proj.maptools.org/ (I used the 4.6.0 version - proj-4.6.0.zip)

Unpacking the zip file in:

C:\proj4 

Step 02

Open the nmake.opt file in a text editor.

C:\proj4\proj-4.6.0\src\makefile.vc 

Change the line:

PROJ_LIB_DIR=C:/PROJ/NAD 

to:

PROJ_LIB_DIR=C:\proj4\proj-4.6.0\nad 

Step 03

Execute:

C:\proj4\proj-4.6.0\src>vcvars32.bat 

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin 

Step 04

Execute:

C:\proj4\proj-4.6.0\src>nmake /f makefile.vc all 

Step 05

Make the enviromente variable:

PROJ4_HOME = C:\proj4\proj-4.6.0\src 

Expat 2.0.1

Download the Expat at: http://expat.sourceforge.net (expat-win32bin-2.0.1.exe) and install it.

Make the enviromente variable:

EXPAT_HOME=C:\Arquivos de programas\Expat 2.0.1 

openModeller 0.5.2

Step 01

Download the openModeller sorce code at: http://openmodeller.sourceforge.net.

Use the SVN and download the trunk module: openmodeller (https://openmodeller.svn.sourceforge.net/svnroot/openmodeller/tags/rel-0-5-2).

at:

C:\openmodeller 

Step 02

Build the follow solution with Visual Studio .Net 2003:

C:\openmodeller\windows\vc7\build\all\all.sln 

Step 03

Execute the .bat file:

C:\openmodeller\windows\vc7\build\all\CopyDebugDll.bat 

Step 04

The Debug "project" is set to run the request_w.txt teste.

Step 05

Make the enviromente variable:

OM_HOME=C:\openmodeller 

2014-08-13 10:46