Difference between revisions of "Windows Build"

From OTBWiki
Jump to: navigation, search
m (Reverted edits by Ulofyvy (Talk); changed back to last version by Christop)
Line 1: Line 1:
 
__TOC__
 
__TOC__
  
>== The Prose Version ==
+
== The Prose Version ==
  
 
The main external dependencies to Orfeo on Windows is [http://www.gdal.org/ GDAL]. Download prebuilt binaries and headers as appropriate. The OTB Team provides compiled packages that are known to work with OTB at [http://www.orfeo-toolbox.org/packages/].
 
The main external dependencies to Orfeo on Windows is [http://www.gdal.org/ GDAL]. Download prebuilt binaries and headers as appropriate. The OTB Team provides compiled packages that are known to work with OTB at [http://www.orfeo-toolbox.org/packages/].
Line 10: Line 10:
  
 
Choose to generate appropriate MSVC project from CMake e.g. Visual Studio 9 2008 for MSVC 2008 Express. Open the project entitled ALL_BUILD and compile it to build the OTB source.
 
Choose to generate appropriate MSVC project from CMake e.g. Visual Studio 9 2008 for MSVC 2008 Express. Open the project entitled ALL_BUILD and compile it to build the OTB source.
 
----
 
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;">
 
----
 
=[http://igamawo.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]=
 
----
 
=[http://igamawo.co.cc CLICK HERE]=
 
----
 
</div>
 
  
 
== Step-by-step Instructions ==
 
== Step-by-step Instructions ==

Revision as of 18:30, 19 November 2010

The Prose Version

The main external dependencies to Orfeo on Windows is GDAL. Download prebuilt binaries and headers as appropriate. The OTB Team provides compiled packages that are known to work with OTB at [1].

If you don't use the OTB Gdal packages, Orfeo Applications also need libtiff and libjpeg to build successfully. Download these as well. Some tests will be conducted by the CMake configuration to check if libtiff and libjpeg are included in the libgdal prebuilt library.

FLTK is required for windowing and some GUI demos depend on it - This is included in the OTB repository and not needed separately.

Choose to generate appropriate MSVC project from CMake e.g. Visual Studio 9 2008 for MSVC 2008 Express. Open the project entitled ALL_BUILD and compile it to build the OTB source.

Step-by-step Instructions

  1. Install TortoiseHG, MSVC Express, Osgeo4w, CMake
    • TortoiseHG - lets you check out the latest code
    • MSVC Express - Lets you compile the source
    • Osgeo4w - provides dependency libraries for OTB
    • CMake - lets you configure the compile system
  2. Configure the OTB code with CMAKE for building
  3. Open the solution produced with MSVC and compile/install.
  4. Repeat configure with cmake/compile with MSVC for Monteverdi
  5. Run otb/monteverdi from where ever they were installed.

Other issues

You can also have a look at other Windows issues.