Changes between Initial Version and Version 1 of LinuxBuild


Ignore:
Timestamp:
May 14, 2007, 10:06:26 AM (17 years ago)
Author:
mlucas
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • LinuxBuild

    v1 v1  
     1= Linux Build =
     2
     3The first package to build and install should be the OpenSceneGraph set. This consists of 3 projects:
     4
     5* OpenThreads
     6* Producer
     7* OpenSceneGraph
     8
     9They should be compiled and installed in that order.
     10
     11OsgEphemeris is optional.1 line can be commented out of the ossimPlanet build to disable it.
     12
     13Follow the [[cvs instructions]] to download the source files into your development directory.
     14
     15Ossim is the main Geoprocessing package powering ossimPlanet. This is pretty simple to build using the standard - configure, make and install steps. The ossim libraries are installed in /usr/local/lib/ossim by default.
     16
     17Though Ossim internally supports geotiff for support of other common raster formats gdal is necessary. This can be built from the cvs or using one of the released tarballs. In various distributions e.g. Gentoo it is part of the Package management system.
     18
     19In order to enable gdal support ossim_plugin needs to be built.
     20
     21ossim_qt requires Trolltech Qt Toolkit 3. If both Qt 3 and 4 are installed, as is the case in most up to date systems, environment variables need to be set to use the qt3 install for building.<br>
     22Set the following environment variables using export or appropriate equivalent for your shell:
     23* OSSIM_DEV_HOME = path to common checkout location for all dependencies
     24* OSSIM_HOME = path to ossim source tree
     25* OSSIM_INC_DIR=${OSSIM_HOME}/include
     26* OSSIM_LIB_DIR=${OSSIM_HOME}/lib/ossim
     27* OSSIM_QT_HOME = path to ossim_qt source tree
     28* QTDIR = path to qt3
     29* PATH = $QTDIR/bin:$PATH (Override Path to force qt3 install)<br>
     30rum "qmake ossim_qt.pro" then make and make install to install ossim_qt. The applications imagelinker and iview are built and can be copied appropriate location in the PATH, usually /usr/local/bin/.
     31
     32Build notes, to be cleaned up later...
     33{{{
     34
     35  cd ossim ; ./configure ; make depends ; make ; sudo make install; cd ..
     36  cd ossim_qt; qmake ossim_qt.pro ; make; sudo make install; cd ..
     37  cd libwms ; make; sudo make install; cd ..
     38  cd ossimPlanet; make;
     39  missing header file for ossimyahoo geocoder, fixed
     40  errors on osgEphemeris includes
     41  edit ossimPlanet/include/ossimPlanet/ossimPlanetSetup.h  comment out the
     42   // #define OSSIMPLANET_ENABLE_EPHEMERIS  if you don't have osgEphemeris installed
     43  sudo make install ; cd ..
     44  cd ossimplanet_qt ; qmake ossimplanet.pro ; make
     45}}}