Changes between Version 55 and Version 56 of DavesFedoraCmakeBuildNotes


Ignore:
Timestamp:
Oct 10, 2012, 3:32:48 PM (12 years ago)
Author:
dburken
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DavesFedoraCmakeBuildNotes

    v55 v56  
    44Author: David Burken
    55
    6 Last modified: 06 July 2012
     6Last modified: 10 October 2012
    77
    88Feedback welcome.  Please send to the ossim mailing list at "ossim-developer AT lists.sourceforge.net" and reference this page.
     
    129129// End of GEOS
    130130
    131 '''OpenThreads:'''[[BR]]
    132 // ossim has an OpenThreads dependency.  If you are building OpenSceneGraph for ossimplanet it is in there; else, get it from yum.[[BR]]
    133 $ sudo yum install OpenThreads-devel[[BR]]
    134 
    135 // End of OpenThreads
     131'''PROJ4:'''[[BR]]
     132$ mkdir /work/osgeo/proj[[BR]]
     133$ cd !$ // last argument of last command[[BR]]
     134$ svn co   http://svn.osgeo.org/metacrs/proj/trunk/proj proj-svn[[BR]]
     135$ mkdir build // "out of source" build dir[[BR]]
     136$ cd build[[BR]]
     137// Make a cmake config script[[BR]]
     138$ xemacs geos-cmake-config.sh // Use whatever editor you want, gedit, whatever...[[BR]]
     139// Contents of script:[[BR]]
     140
     141{{{
     142#!/bin/sh
     143
     144# ---
     145# File: geos-cmake-config.sh
     146# ---
     147
     148build_dir="/work/osgeo";
     149
     150cmake -G "Unix Makefiles" \
     151-DCMAKE_BUILD_TYPE=Release \
     152-DCMAKE_INSTALL_PREFIX=${build_dir}/local \
     153-DCMAKE_MODULE_PATH=${build_dir}/geos/geos-svn/cmake/modules \
     154../geos-svn
     155
     156}}}
     157
     158// Make the script executable:[[BR]]
     159$ chmod 755 geos-cmake-config.sh
     160
     161// Run the cmake command to set up the build system:[[BR]]
     162$ ./geos-cmake-config.sh
     163
     164// Make - note the "-j 4" is to use 4 threads.[[BR]]
     165$ make -j 4
     166
     167// Install to sandbox:[[BR]]
     168$ make install // Note if your sandbox was on a system slice, i.e. /usr/local you would do: "sudo make install"
     169
     170// End of PROJ4
     171
    136172
    137173
     
    219255
    220256// End of geotiff
     257
     258
     259'''OpenThreads:'''[[BR]]
     260// ossim has an OpenThreads dependency.  If you are building OpenSceneGraph for ossimplanet it is in there; else, get it from yum.[[BR]]
     261$ sudo yum install OpenThreads-devel[[BR]]
     262
     263// End of OpenThreads
     264
    221265
    222266'''kakadu:'''[[BR]]