Changes between Version 58 and Version 59 of DavesFedoraCmakeBuildNotes


Ignore:
Timestamp:
Oct 10, 2012, 4:49:36 PM (12 years ago)
Author:
dburken
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DavesFedoraCmakeBuildNotes

    v58 v59  
    170170
    171171'''libtiff:'''[[BR]]
    172 // Needed by OpenSceneGraph, libgeotiff, ossim, gdal...[[BR] 
     172// Needed by OpenSceneGraph, libgeotiff, ossim, gdal...[[BR]]
    173173$ cd /work/osgeo[[BR]]
    174174$ cvs -d :pserver:cvsanon@cvs.maptools.org:/cvs/maptools/cvsroot co libtiff[[BR]]
     
    184184prefix=/work/osgeo/local
    185185
    186 ./configure --prefix=${prefix}
     186./configure --prefix=$prefix
    187187
    188188}}}
     
    223223# File: libgeotiff-cmake-config.sh
    224224
    225 build_dir="/work/osgeo";
     225build_root=/work/osgeo
     226install_root=/work/osgeo/local
    226227
    227228cmake -G "Unix Makefiles" \
    228229-DCMAKE_BUILD_TYPE=Release \
    229 -DCMAKE_INCLUDE_PATH=${build_dir}/local/include \
    230 -DCMAKE_INSTALL_PREFIX=${build_dir}/local \
    231 -DCMAKE_LIBRARY_PATH=${build_dir}/local/lib \
    232 -DCMAKE_MODULE_PATH=${build_dir}/ossim_package_support/cmake/CMakeModules \
     230-DCMAKE_INCLUDE_PATH=$install_root/include \
     231-DCMAKE_INSTALL_PREFIX=$install_root \
     232-DCMAKE_LIBRARY_PATH=$install_root/lib \
     233-DCMAKE_MODULE_PATH=$build_root/ossim_package_support/cmake/CMakeModules \
    233234-DGEOTIFF_ENABLE_INCODE_EPSG=ON \
    234235-DWITH_JPEG=ON \
     
    261262// End of OpenThreads
    262263
     264'''OpenSceneGraph:'''[[BR]]
     265// Needed by ossimplanet.  Provide OpenThreads.[[BR]]
     266$ cd /work/osgeo[[BR]]
     267$ mkdir osg[[BR]]
     268$ cd !$[[BR]]
     269// Get OpenSceneGraph release and place here.[[BR]]
     270$ unzip OpenSceneGraph-3.0.1.zip[[BR]]
     271$ ln -s OpenSceneGraph-3.0.1 latest[[BR]]
     272$ mkdir build[[BR]]
     273$ cd !$
     274// Create cmake script.  Contents of osg-cmake-config.sh[[BR]]
     275
     276{{{
     277#!/bin/sh
     278
     279# ---
     280# File: osg-cmake-config.sh
     281# ---
     282
     283build_root=/work/osgeo
     284install_root=/work/osgeo/local
     285
     286cmake -G "Unix Makefiles" \
     287-DCMAKE_BUILD_TYPE=Release \
     288-DCMAKE_INSTALL_PREFIX=$install_root \
     289-DCMAKE_MODULE_PATH=$build_root/osg/latest/CMakeModules \
     290../latest
     291}}}
     292
     293// End of OpenSceneGraph
    263294
    264295'''kakadu:'''[[BR]]