source: trunk/ossim/README.txt

Last change on this file was 15071, checked in by oscarkramer, 7 years ago

Corrected obsolete comment

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.6 KB
Line 
1
2OSSIM - Open Source Software Image Map
3
4Introduction:
5
6OSSIM, pronounced "awesome" is an open source project to
7develop a state of the art set of libraries and tools for remote
8sensing and geographic information systems.A test application,
9OSSIM, is included in the distribution to showcase the
10functionality of the libraries. For a complete list of OSSIM
11functionality, point your Internet web browser to
12http://www.ossim.org
13
14
15Environmental Variables:
16
17The various builds will use the following environmental variables, set them to point to the relevant paths in your development environment:
18
19OSSIM_DEPENDENCIES // This should be one up from OSSIM_HOME.
20OSSIM_HOME
21OSSIM_PREFS_FILE
22
23for example, in .bashrc on the mac
24
25export OSSIM_HOME=/Users/Shared/Development/ossim
26export OSSIM_PREFS_FILE=/Users/mrl/ossim_preferences
27
28Other useful Environmental variables you might want to set for OSSIM related builds:
29
30QT_HOME
31
32
33
34Binary distributions and source packages are available from sourceforge at:
35http://sourceforge.net/project/showfiles.php?group_id=5891
36
37Getting the source code via cvs, this includes get external packages that
38we need/like to have:
39
40//---
41// cd into some work directory.  I like to put all packages parallel to
42// each other.
43//---
44
45//---
46// Get external packages we like to have.  If you have these installed already
47// you just need to tell ossim where they're at...  In most cases if you
48// install these parallel to ossim they will be found during a "./configure"
49//---
50
51// Get OpenThreads if not installed already (now a required library):
52svn co http://www.openscenegraph.org/svn/osg/OpenThreads/trunk OpenThreads
53
54// Login to maptools cvs pserver
55cvs -d :pserver:cvsanon@cvs.maptools.org:/cvs/maptools/cvsroot login
56password:  <hit return for password>
57
58// Get libtiff
59cvs -d :pserver:cvsanon@cvs.maptools.org:/cvs/maptools/cvsroot co libtiff
60
61// The geotiff source code is available via svn (subversion) server on:
62http://svn.osgeo.org/metacrs/geotiff/trunk/libgeotiff
63
64// Get geotiff:
65svn co http://svn.osgeo.org/metacrs/geotiff/trunk/libgeotiff
66
67// The gdal source code is available via svn (subversion) server on
68http://svn.osgeo.org/gdal/trunk/gdal
69
70// Get gdal:
71svn co http://svn.osgeo.org/gdal/trunk/gdal gdal
72
73// Logout of cvs pserver
74cvs -d :pserver:cvsanon@cvs.maptools.org:/cvs/maptools/cvsroot logout
75
76// The ossim source code is available via svn (subversion) server on:
77http://svn.osgeo.org/ossim
78
79// Get ossim core
80svn co http://svn.osgeo.org/ossim/trunk/ossim ossim
81
82// Get ossim_qt - this is the old QT3.x gui module with imagelinker and iview
83svn co http://svn.osgeo.org/ossim/trunk/ossim_qt ossim_qt
84
85// Get ossim_qt4 - this is the QT4.x port of imagelinker and iview
86svn co htts://svn.osgeo.org/ossim/trunk/ossim_qt4 ossim_qt4
87
88// Get ossim_plugins
89svn co http://svn.osgeo.org/ossim/trunk/ossim_plugins ossim_plugins
90
91// Elevation geoid grid: egm96.grd (you will need this if you don't have)
92svn co http://svn.osgeo.org/ossim/trunk/ossim_package_support/geoids geoids
93
94//---
95// Building on unix like machines, linux, sunos and so on.
96// Note my workspace directory is "/work/drb".  You should change that out
97// to be yours...
98//---
99
100//---
101// Build libtiff:
102// Note that ossim requires "libtiff", won't build without it.  Most systems
103// have libtiff installed.  If you need to build it follow directions
104// below.
105//
106// Official website at: 
107// http://www.remotesensing.org/libtiff
108//
109// LIBTIFF Notes:
110// My libtiff is in "/work/drb/libiff".  The --prefix will tell it to install
111// there rather than user local.
112//---
113cd /work/drb/libtiff
114cvs -z 3 update -d -P
115./configure --prefix=/work/drb/libtiff
116make
117make install
118
119//---
120// Build geotiff:
121// Note that ossim does not require geotiff; however, it is nice to have.
122// Without it none of you geotiffs will be placed on the ground correctly.
123// Official website at: 
124// http://www.remotesensing.org:16080/websites/geotiff/geotiff.html
125//---
126cd /work/drb/geotiff/libgeotiff
127cvs -z 3 update -d -P
128./configure --prefix=/work/drb/geotiff --with-libtiff=/work/drb/libtiff
129make
130make install
131cd ../..
132
133cd /work/drb/ossim
134cvs -z 3 update -d -P
135./configure
136make depends;
137make
138
139//---
140// Sample configure line to build single static libossim.a and static
141// applications.  (linux Fedora Core 3)
142// Notes:
143// 1) Mpi and freetype were shut off since there were no static
144//    libraries on my machine.
145// 2) libtiff and geotiff packages were explicitly set since there were not
146//    parallel to the static ossim build.
147//---
148./configure --enable-singleStaticOssimLibrary=yes --enable-singleSharedOssimLibrary=no --with-mpi=no --with-freetype=no --with-libtiff=/work/drb/libtiff --with-geotiff=/work/drb/geotiff --enable-staticOssimApps
Note: See TracBrowser for help on using the repository browser.