Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sébastien Peillet
otb
Commits
92adc8f2
Commit
92adc8f2
authored
8 years ago
by
Rashad Kanavath
Browse files
Options
Downloads
Patches
Plain Diff
DOC: update list of x11 libs required for Qt4 (Superbuild)
parent
9a145f2f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Documentation/SoftwareGuide/Latex/Installation.tex
+22
-10
22 additions, 10 deletions
Documentation/SoftwareGuide/Latex/Installation.tex
with
22 additions
and
10 deletions
Documentation/SoftwareGuide/Latex/Installation.tex
+
22
−
10
View file @
92adc8f2
...
...
@@ -251,25 +251,22 @@ Therefore this directory will be used even if you don't use make install target.
In fact there is no make install target for the SuperBuild.
By default, SuperBuild will not use any of libraries installed on
system. All
\texttt
{
USE
\_
SYSTEM
\_\textit
{
XXX
}}
are
are
set to FALSE. This is our
system. All
\texttt
{
USE
\_
SYSTEM
\_\textit
{
XXX
}}
are set to FALSE. This is our
recommended way of using SuperBuild. You are however free to use a system
library if you want
!
. You must be very much aware of dependencies of those
libraries you use from system. For example, if libjpeg is not used from
superbuild
using
\texttt
{
USE
\_
SYSTEM
\_
JPEG
=
TRUE
}
then you should not use zlib
from s
uper
b
uild
because zlib is a dependency of libjpeg. Here SuperBuild will
not automagically set
\texttt
{
USE
\_
SYSTEM
\_
ZLIB
=
FALSE
}
.
You must do it
yourself. Th
e example of libjpeg
-
zlib dependency
chain
is so simple. Imagine
the
same
case for GDAL which depends on zlib, libjpeg, libtiff
(
with big tiff
superbuild
then you should not use zlib from superbuild because zlib is a dependency of libjpeg.
Here S
uper
B
uild
will NOT set
\texttt
{
USE
\_
SYSTEM
\_
ZLIB
=
FALSE
}
. One must re
-
run cmake
with
\texttt
{
-
D
USE
\_
SYSTEM
\_
ZLIB
=
FALSE
}
.
Abov
e example of libjpeg
-
zlib dependency is so simple. Imagine
the case for GDAL which depends on zlib, libjpeg, libtiff
(
with big tiff
support
)
, geotiff, sqlite, curl, geos, libkml, openjpeg. This is one of the
reasons we recommend to use SuperBuild exclusively
or not
.
reasons we recommend to use SuperBuild exclusively.
All dependencies are configured and built in a way that help us to get an
efficient build OTB. So we enable geotiff
(
with proj
4
support
)
, openjpeg, geos
in GDAL build.
It is also important to note that SuperBuild is tested daily on all three
platforms. It simply works
!
(
see table~
\ref
{
tab:installation
-
cmake
-
variables
}
)
.
SuperBuild downloads dependencies into the
\texttt
{
DOWNLOAD
\_
LOCATION
}
...
...
@@ -285,6 +282,21 @@ want to build) :
\url
{
https:
//
www.orfeo
-
toolbox.org
/
packages
}
\end
{
center
}
Qt library: Unlike other dependencies building Qt
4
on all platform is not trivial task but
OTB SuperBuild makes best effort to make it easier for you. So there is still
some additional package installation, one has to do as a pre
-
requistie for SuperBuild
On a GNU
/
Linux you must have Qt X
11
dependencies installed.
See Qt
4
.
8
documentation for list of packages that needs to be installed
before starting superbuild. http:
//
doc.qt.io
/
qt
-
4
.
8
/
requirements
-
x
11
.html
For a debian
8
.
1
systeme, I installed all Qt
4
dependencies with below 'apt
-
get install'
\texttt
{
apt
-
get install libx
11
-
dev libxext
-
dev libxt
-
dev libxi
-
dev libxrandr
-
dev
}
For Mac OSX and Windows, there is no additional package required because Qt uses
Windowing system of that platform which is available on your system.
You can also deactivate QT
4
and skip this by passing
\texttt
{
-
DOTB
\_
USE
\_
QT
4
=
OFF
}
to cmake.
This will give you OTB install without monteverdi, mapla and gui application launchers.
You are now ready to compile OTB
!
Simply use the make command
(
other targets can be generated with CMake's
\texttt
{
-
G
}
option
)
:
\begin
{
verbatim
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment