Difference between revisions of "Tested configurations"

From OTBWiki
Jump to: navigation, search
 
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
 +
 +
 +
----
 +
 +
 +
Some dependencies are common between different software like Grass, Qgis, Ossim.
 +
The best mac resource to satisfy GIS dependencies on mac is [http://www.kyngchaos.com KyngChaos] here you can find frameworks
 +
and binary apps.
 +
To build OTB i used the IOUnix.framework, Gdal,framework; then to satisfy geotiff libraries, you can easy install it from sourceor use the
 +
ossim_dependancies package and point cmake to its include directory.
 +
 +
 +
i compiled fltk-1.1.9 from source, using cmake.
 +
 +
  Untar the source
 +
  cd fltk-1.1.9
 +
  mkdir build
 +
  cd build
 +
  ccmake .. :
 +
 +
Using this settings:
 +
 +
[http://www.geofemengineering.it/data/CMakeCache_fltk.txt Cmake_fltk]
 +
 +
To build *OrfeoToolbox-3.0* :
 +
 +
  Untar the source
 +
  cd OrfeoToolbox-3-1.0
 +
  mkdir build
 +
  cd build
 +
  ccmake ..
 +
 +
dependence i setted manually :
 +
 +
  JPEG_INCLUDE_DIRS:PATH=/Library/Frameworks/UnixImageIO.framework/unix/include
 +
  JPEG_LIBRARY:FILEPATH=/Library/Frameworks/UnixImageIO.framework/unix/lib/libjpeg.dylib
 +
  OGR_INCLUDE_DIRS:PATH=/Library/Frameworks/GDAL.framework/unix/include
 +
  TIFF_INCLUDE_DIRS:PATH=/Library/Frameworks/UnixImageIO.framework/unix/include
 +
  TIFF_LIBRARY:FILEPATH=/Library/Frameworks/UnixImageIO.framework/unix/lib/libtiff.dylib
 +
 +
  GEOTIFF_INCLUDE_DIRS:PATH=/Users/Shared/Development/ossim_dependencies/include
 +
 +
  FLTK_DIR:PATH=/Users/Shared/source/fltk-1.1.9/build
 +
 +
configuration i used :
 +
 +
  i386
 +
  Release
 +
  SHARED OFF
 +
  EXAMPLE  ON
 +
 +
this the cmake settings :
 +
 +
[http://www.geofemengineering.it/data/CMakeCache_otb.txt Cmake_OTB]
 +
 +
 +
To compile the OTB example :
 +
 +
  cd example_name_dir
 +
  make
 +
 +
it will produce the examples executable in the bin directory
 +
 +
  /../OrfeoToolbox-3-1.0/build/bin
 +
 +
i tried visualexample on grass data :
 +
 +
[http://www.geofemengineering.it/data/otb_grass.png Grass data visualizzation]

Latest revision as of 14:12, 15 July 2009

Tested Mac Configuration LEOPARD
Static Shared Debug Release Examples ON Examples OFF Compilation Result Comments
X X OK
X X X OK




Some dependencies are common between different software like Grass, Qgis, Ossim. The best mac resource to satisfy GIS dependencies on mac is KyngChaos here you can find frameworks and binary apps. To build OTB i used the IOUnix.framework, Gdal,framework; then to satisfy geotiff libraries, you can easy install it from sourceor use the ossim_dependancies package and point cmake to its include directory.


i compiled fltk-1.1.9 from source, using cmake.

 Untar the source
 cd fltk-1.1.9
 mkdir build
 cd build
 ccmake .. : 

Using this settings:

Cmake_fltk

To build *OrfeoToolbox-3.0* :

 Untar the source
 cd OrfeoToolbox-3-1.0
 mkdir build
 cd build
 ccmake ..

dependence i setted manually :

 JPEG_INCLUDE_DIRS:PATH=/Library/Frameworks/UnixImageIO.framework/unix/include
 JPEG_LIBRARY:FILEPATH=/Library/Frameworks/UnixImageIO.framework/unix/lib/libjpeg.dylib
 OGR_INCLUDE_DIRS:PATH=/Library/Frameworks/GDAL.framework/unix/include
 TIFF_INCLUDE_DIRS:PATH=/Library/Frameworks/UnixImageIO.framework/unix/include
 TIFF_LIBRARY:FILEPATH=/Library/Frameworks/UnixImageIO.framework/unix/lib/libtiff.dylib
 GEOTIFF_INCLUDE_DIRS:PATH=/Users/Shared/Development/ossim_dependencies/include
 FLTK_DIR:PATH=/Users/Shared/source/fltk-1.1.9/build

configuration i used :

 i386
 Release
 SHARED OFF
 EXAMPLE  ON

this the cmake settings :

Cmake_OTB


To compile the OTB example :

 cd example_name_dir
 make

it will produce the examples executable in the bin directory

 /../OrfeoToolbox-3-1.0/build/bin

i tried visualexample on grass data :

Grass data visualizzation