Changes between Version 6 and Version 7 of MacOSXBuild


Ignore:
Timestamp:
Apr 2, 2009, 10:02:42 AM (15 years ago)
Author:
mlucas17
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MacOSXBuild

    v6 v7  
    77
    88== Development ==
     9{{{
     10OSSIM Build Documentation for Mac OS X
     11Dave Lucas - ossimdave@me.com
    912
    10 === Dependencies ===
    11 All dependencies necessary to build ossim and ossimplanet can now be downloaded from [http://ossim.telascience.org/ossimdata/MacOSX/ossim_dependencies.tgz here].  Download and unpack in your /Users/Shared/Development directory.
     131. Open up a terminal
    1214
    13 unpack and place in /Users/Shared/Development
    14 run ranlib on all of the static libraries there.
    15 {{{
    16  cd /Users/Shared/Development/ossim_dependencies/lib
    17  ranlib *.a
    18  cd ../nuiSDK/lib
    19  ranlib *.a
     152. Make a development directory in /users/Shared/
     16mkdir /Users/Shared/Development/
     17
     183. Change the directory to /Users/Shared/Development/
     19cd /Users/Shared/Development/
     20
     214. Check out all of the OSSIM modules using SVN
     22svn co http://svn.osgeo.org/ossim/trunk . (note the trailing dot)
     23
     245. Download the OSSIM Dependencies
     25http://ossim.telascience.org/ossimdata/MacOSX/ossim_dependencies.tgz (click the link to download)
     26
     276. Move the ossim_dependencies.tgz to /Users/Shared/Development/
     28mv /users/davidlucas/Downloads/ossim_dependencies.tar /Users/Shared/Development/
     29
     307. Extract the ossim_dependencies.tgz using tar
     31tar -xvf ossim_dependencies.tar
     32
     338. Remove the ossim_dependencies.tgz (optional)
     34rm ossim_dependencies.tgz
     35
     369. Xcode Build Instructions
     37Open up Xcode
     38
     39Select File Menu / Open
     40Navigate to /Users/Shared/Development/ossim/xcode/ossim/
     41Select ossim.xcodeproj
     42Click open
     43
     44Set Active Build Configuration to Release
     45Click Build
     46
     4710. Launch Active Executable
     48Select Build Menu / Build Results
     49Set Active Executable to ossimplanet
     50Select Run Menu / Run
    2051}}}
    21 === svn checkout summary ===
    22 
    23 svn will now checkout a master ossim repository, functionality is divided into the subdirectories shown below:
    24 
    25 * ossim - base library for image and geospatial processing
    26 * ossim_qt - qt3 interface (imagelinker, iview applications)
    27 * libwms - provides OGC Web Mapping Services interface
    28 * ossimPlanet - base library for planet visualization
    29 * ossimPlanetQt - qt4 interface for ossimPlanet application
    30 * ossim_plugins - dynamic plugins for ossim
    31 * ossimplanetCocoa - Cocoa version of ossimplanet
    32 
    33 Follow the [[cvs instructions | svn instructions]] to checkout the source code trees.  We recommend you set up your source code under /Users/Shared/Development to match up with the path settings in the xcode projects.
    34 
    35 xcode assumes that all modules are located side by side in:
    36 {{{
    37  /Users/Shared/Development/ossim
    38 }}}
    39 
    40 == Building and Running in Xcode ==
    41 
    42 The MacOSX build is performed with xcode.  It assumes that all of the svn subtrees have been checked out per the svn instructions and are sitting side by side in your development directory.  Navigate into the ossim subdirectory and load the xcode project
    43 {{{
    44    /Users/Shared/Development/ossim/xcode/ossim/ossim.xcodeproj
    45 }}}
    46 
    47 
    48 Loading this project into xcode will reveal Targets and subtargets that will build all of the ossim related frameworks and apps.  It assumes ossim_dependencies has been downloaded and placed in /Users/Shared/Development.
    49 
    50 There are xcode projects in each of these directories with appropriate dependencies between the projects.  All projects now load a common_settings xcode config file where cross project settings and environmental variables are maintained.  The projects now build into a shared build directory located in /var/tmp.  We have taken steps to minimize the potential conflicts with other paths and projects and reduce start up effort with common settings.
    51 
    52 Make sure that the build configuration is "Release"
    53 
    54 In the ossim.xcodeproj select the All target and build.  The All target is an aggregate target that will build all of the dependencies.  Select the ossimPlanet application as the executable and run. 
    5552
    5653== Package Building ==