Skip to content
Snippets Groups Projects
Commit 500f90a4 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

DOC: FAQ update for Windows compilation, minor fixes

parent b68f2da0
No related branches found
No related tags found
No related merge requests found
...@@ -243,22 +243,21 @@ OFF the CMake variable OTB\_USE\_EXTERNAL\_ITK. ...@@ -243,22 +243,21 @@ OFF the CMake variable OTB\_USE\_EXTERNAL\_ITK.
OTB compilation and Windows platform OTB compilation and Windows platform
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To build OTB on Windows, we highly recommend using OSGeo4W which To build OTB on Windows, you should prepare an environment with the following
provides all the necessary dependencies. tools:
Currently it is not possible to build OTB in Debug when using the * Visual Studio 2015 or later
dependencies provided by OSGeo4W. If you want to build OTB in Debug for * CMake 3.1 or later
Windows, you will need to build and install manually each dependency * OTB XDK : download a Windows binary package of OTB and use the supplied
needed by OTB. You should use the same compiler for all the uninstall script to remove OTB binaries and headers. Now, this package only
dependencies, as much as possible. contains the dependencies needed to build OTB.
Therefore, we highly recommend you to use OSGeo4W shell environment to Then, you can download OTB sources (preferably, a version compatible with your
build OTB. You can use the 32 or 64 bit installer, since OSGeo4W XDK), and compile them as a standard CMake project. More details are available
provides all the necessary dependencies in the two cases. Please follow in the SoftwareGuide.
carefully the procedure provided in the Software Guide.
There is an other solution, using OSGeo4W distribution. However, the
Typically, when using the dependencies provided by OSGeo4W, compile OTB dependencies may be outdated.
in Release or RelWithDebInfo mode.
Using OTB Using OTB
--------- ---------
......
...@@ -90,6 +90,7 @@ A: You can get this error at startup running Monteverdi.app or Mapla.app. The ...@@ -90,6 +90,7 @@ A: You can get this error at startup running Monteverdi.app or Mapla.app. The
solution is to run in a terminal the following command: solution is to run in a terminal the following command:
:: ::
xcode-select --install xcode-select --install
And then try to restart Monteverdi or Mapla. And then try to restart Monteverdi or Mapla.
...@@ -324,7 +324,7 @@ directory, which in our case is \texttt{~/OTB/install/bin/}. For example: ...@@ -324,7 +324,7 @@ directory, which in our case is \texttt{~/OTB/install/bin/}. For example:
will launch the command line version of the \textbf{ExtractROI} application, will launch the command line version of the \textbf{ExtractROI} application,
while: while:
\begin{verbatim} \begin{verbatim}
./OTB/install/bin/otbgui_ExtractROI ~/OTB/install/bin/otbgui_ExtractROI
\end{verbatim} \end{verbatim}
will launch the graphical version. will launch the graphical version.
...@@ -420,7 +420,7 @@ $ make install ...@@ -420,7 +420,7 @@ $ make install
\hline \hline
\textbf{OTB\_USE\_CURL} & OTBCurl & \\ \textbf{OTB\_USE\_CURL} & OTBCurl & \\
\hline \hline
\textbf{OTB\_USE\_MUPARSER} & OTBMuParser & OTBMathParser OTBDempsterShafer OTBAppClassification OTBAppMathParser OTBAppStereo OTBAppProjection OTBAppSegmentation OTBAppClassification OTBRoadExtraction OTBRCC8 OTBCCOBIA OTBAppSegmentation OTBMeanShift OTBAppSegmentation OTBMeanShift OTBAppSegmentation \\ \textbf{OTB\_USE\_MUPARSER} & OTBMuParser & OTBMathParser OTBDempsterShafer OTBAppClassification OTBAppMathParser OTBAppStereo OTBAppProjection OTBAppSegmentation OTBRoadExtraction OTBRCC8 OTBCCOBIA OTBMeanShift \\
\hline \hline
\textbf{OTB\_USE\_MUPARSERX} & OTBMuParserX & OTBMathParserX OTBAppMathParserX \\ \textbf{OTB\_USE\_MUPARSERX} & OTBMuParserX & OTBMathParserX OTBAppMathParserX \\
\hline \hline
......
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