Skip to content
Snippets Groups Projects
Commit f150c268 authored by Julien Michel's avatar Julien Michel
Browse files

Merge branch 'develop' into ossimplugins_headers

parents 4c088fc2 4d6f783c
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,6 @@ Linux x86_64 ...@@ -28,7 +28,6 @@ Linux x86_64
.. include:: Installation_Linux.txt .. include:: Installation_Linux.txt
MacOS X MacOS X
------- -------
......
...@@ -33,24 +33,31 @@ archive is extracted, the directory structure consists of: ...@@ -33,24 +33,31 @@ archive is extracted, the directory structure consists of:
- ``lib``: A folder containing all shared libraries and OTB - ``lib``: A folder containing all shared libraries and OTB
applications. applications.
- ``include``: A folder containing all the necessary headers to compile OTB
based projects.
- ``share``: A folder containing common resources and copyright - ``share``: A folder containing common resources and copyright
mentions. mentions.
- ``tool``: A folder containing usefull scripts to test the installation or - ``tool``: A folder containing usefull scripts to test the installation or
to uninstall OTB libraries and headers while keeping all the depedencies. to uninstall OTB libraries and headers while keeping all the depedencies.
In order to run the command line launchers, this package doesn’t require The applications can be launched from the Mapla launcher. If you want to
any special library that is not present in most modern Linux use the otbcli and otbgui launchers, you can initialize your environment
distributions. There is a small caveat for "expat" though as these binaries depend with ``source otbenv.profile``.
on "libexpat.so", which can be supplied by most package managers (apt, yum, ...).
Note that this problem only affects versions 6.0 and older.
If not already present, it is necessary to install one of the following packages:
:: The package can be used to compile other projects using OTB (binaries, libraries
and headers are included). If you want to build OTB from source using this
package, you should first uninstall the specific OTB files from the package to
leave only the dependencies (what we call an XDK). You can do it using the
supplied script ``tools/uninstall_otb.sh``.
libexpat-dev libexpat1-dev System dependencies
~~~~~~~~~~~~~~~~~~~
The graphical executable (otbgui launchers, Monteverdi In order to run the command line launchers, this package doesn’t require
any special library that is not present in most modern Linux
distributions. The graphical executable (otbgui launchers, Monteverdi
and Mapla) use the X11 libraries, which are widely used in a lot of and Mapla) use the X11 libraries, which are widely used in a lot of
distributions: distributions:
...@@ -58,13 +65,21 @@ distributions: ...@@ -58,13 +65,21 @@ distributions:
libx11-6 libxext6 libxau6 libxxf86vm1 libxdmcp6 libdrm2 libx11-6 libxext6 libxau6 libxxf86vm1 libxdmcp6 libdrm2
Monteverdi also requires the standard graphics libraries libgl1 and Monteverdi also requires the standard graphics libraries **libgl1** and
libglu1. Make sure you have at least one version of them installed **libglu1**. Make sure you have at least one version of them installed
in your system. in your system.
The applications can be launched from the Mapla launcher. If you want to Caveat on OTB 6.0
use the otbcli and otbgui launchers, you can initialize your environment ~~~~~~~~~~~~~~~~~
with ``source otbenv.profile``.
In OTB 6.0 binaries, there is a small caveat for "expat" as the supplied binaries
depend on "libexpat.so", which is not contained in the package. It can be
supplied by most package managers (apt, yum, ...). If not already present, it is
necessary to install one of the following packages:
::
libexpat-dev libexpat1-dev
Python bindings Python bindings
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
...@@ -112,7 +127,7 @@ A: This is due to a conflict with system Qt4 (usually seen on KDE) and Qt4 + gtk ...@@ -112,7 +127,7 @@ A: This is due to a conflict with system Qt4 (usually seen on KDE) and Qt4 + gtk
Q: Monteverdi and Mapla applications look different from my other applications. Q: Monteverdi and Mapla applications look different from my other applications.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A: In versions 6.0 and older, Monteverdi, Mapla and otbapplication (otbgui\_\*) A: In versions 6.0, Monteverdi, Mapla and otbapplication (otbgui\_\*)
use the system gtk theme. If you can't install GTK on your system you can use the use the system gtk theme. If you can't install GTK on your system you can use the
one distributed with the OTB package. Note that using system GTK is the preferred one distributed with the OTB package. Note that using system GTK is the preferred
way with the OTB standalone package as the distributed version of GTK do not way with the OTB standalone package as the distributed version of GTK do not
...@@ -124,8 +139,8 @@ To use the distributed GTK libraries you need to set the OTB_USE_LOCAL_GTK: ...@@ -124,8 +139,8 @@ To use the distributed GTK libraries you need to set the OTB_USE_LOCAL_GTK:
export OTB_USE_LOCAL_GTK=1 export OTB_USE_LOCAL_GTK=1
And now start ``monteverdi.sh`` or ``mapla.sh`` from OTB-|release|-Linux64 And now start ``monteverdi.sh`` or ``mapla.sh`` from OTB-6.0.0-Linux64
To get back default behaviour, unset OTB_USE_LOCAL_GTK=1 or set OTB_USE_LOCAL_GTK=0 To get back default behaviour, unset OTB_USE_LOCAL_GTK=1 or set OTB_USE_LOCAL_GTK=0
In version 6.2, the Linux binaries are built without GTK support to cut some In version 6.2 and older, the Linux binaries are built without GTK support to cut some
dependencies. dependencies.
...@@ -22,12 +22,25 @@ Contents of OTB-|release|-Darwin64 is briefly listed below: ...@@ -22,12 +22,25 @@ Contents of OTB-|release|-Darwin64 is briefly listed below:
- ``lib``: A folder containing all shared libraries and OTB - ``lib``: A folder containing all shared libraries and OTB
applications. applications.
- ``include``: A folder containing all the necessary headers to compile OTB
based projects.
- ``share``: A folder containing common resources and copyright - ``share``: A folder containing common resources and copyright
mentions. mentions.
- ``tool``: A folder containing usefull scripts to test the installation or - ``tool``: A folder containing usefull scripts to test the installation or
to uninstall OTB libraries and headers while keeping all the depedencies. to uninstall OTB libraries and headers while keeping all the depedencies.
The applications can be launched from the Mapla launcher. If you want to
use the otbcli and otbgui launchers, you can initialize your environment
with ``source otbenv.profile``.
The package can be used to compile other projects using OTB (binaries, libraries
and headers are included). If you want to build OTB from source using this
package, you should first uninstall the specific OTB files from the package to
leave only the dependencies (what we call an XDK). You can do it using the
supplied script ``tools/uninstall_otb.sh``.
Python bindings Python bindings
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
......
...@@ -18,6 +18,9 @@ and their launchers (both command line and graphical launchers are provided): ...@@ -18,6 +18,9 @@ and their launchers (both command line and graphical launchers are provided):
- ``lib``: A folder containing application DLLs. - ``lib``: A folder containing application DLLs.
- ``include``: A folder containing all the necessary headers to compile OTB
based projects.
- ``tool``: A folder containing usefull scripts to test the installation or - ``tool``: A folder containing usefull scripts to test the installation or
to uninstall OTB libraries and headers while keeping all the depedencies. to uninstall OTB libraries and headers while keeping all the depedencies.
...@@ -25,6 +28,18 @@ The applications can be launched from the Mapla launcher. If you want to ...@@ -25,6 +28,18 @@ The applications can be launched from the Mapla launcher. If you want to
use the otbcli and otbgui launchers, you can initialize a command prompt use the otbcli and otbgui launchers, you can initialize a command prompt
with ``otbenv.bat``. with ``otbenv.bat``.
The package can be used to compile other projects using OTB (binaries, libraries
and headers are included). If you want to build OTB from source using this
package, you should first uninstall the specific OTB files from the package to
leave only the dependencies (what we call an XDK). You can do it using the
supplied script ``tools/uninstall_otb.bat``.
In the package you also have a template project for Visual 2015
``OTB Project.zip``. This template can be placed in your user Visual 2015 template
directory : ``%USERPROFILE%\Documents\Visual Studio 2015\Templates\ProjectTemplates``.
The script ``start_devenv.bat`` allows to copy the template in that folder and
start Visual Studio.
Python bindings Python bindings
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~
......
\Preamble{html}
\Css{body{margin: 0 auto; max-width: 900px;}}
\begin{document}
\EndPreamble
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
...@@ -89,7 +89,7 @@ SET(DVIPS_CONVERTER_OPTIONS -D600) ...@@ -89,7 +89,7 @@ SET(DVIPS_CONVERTER_OPTIONS -D600)
# Option for html generation # Option for html generation
SET(TEX4HT_OPTIONS "html,2,sections+ \"\" \"\" -shell-escape") SET(TEX4HT_OPTIONS "style_for_html,2,sections+ \"\" \"\" -shell-escape")
SET (HTML_OUTPUT "SoftwareGuide-${OTB_VERSION_MAJOR}.${OTB_VERSION_MINOR}") SET (HTML_OUTPUT "SoftwareGuide-${OTB_VERSION_MAJOR}.${OTB_VERSION_MINOR}")
# Copy RELEASE_NOTES.txt from OTB source tree to Software Guide build directory # Copy RELEASE_NOTES.txt from OTB source tree to Software Guide build directory
......
...@@ -220,6 +220,14 @@ If you do not know which method to use and just want to compile OTB with all its ...@@ -220,6 +220,14 @@ If you do not know which method to use and just want to compile OTB with all its
\end{tiny} \end{tiny}
\end{center} \end{center}
If you want to use a standalone binary package, a lot of dependencies are already
supplied in it. In this case, it is advised to use all of the dependencies from
that package. Mixing system libraries with libraries from OTB package may not
be safe. When you call the \textit{otbenv} script in the package, it will add
an environment variable \texttt{CMAKE\_PREFIX\_PATH}, pointing to the root of the
OTB package. This variable is used by CMake as a hint to detect the dependencies
location.
\subsection{SuperBuild: Build OTB and all dependencies} \subsection{SuperBuild: Build OTB and all dependencies}
\label{sec:installation-linux-superbuild} \label{sec:installation-linux-superbuild}
......
...@@ -5,5 +5,5 @@ A more detailed description can be found on the project website: ...@@ -5,5 +5,5 @@ A more detailed description can be found on the project website:
https://github.com/remicres/otb-mosaic https://github.com/remicres/otb-mosaic
" "
GIT_REPOSITORY https://github.com/remicres/otb-mosaic.git GIT_REPOSITORY https://github.com/remicres/otb-mosaic.git
GIT_TAG 56426908db01f33a5b96311e2a7eaac30ecd8e5d GIT_TAG 1d557e3c69cb11428f5dbf7c7039dc966dd8c51e
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment