diff --git a/Documentation/Cookbook/rst/Installation_Windows.txt b/Documentation/Cookbook/rst/Installation_Windows.txt index b90476b59eea17511d68c05d35c4290639f231d9..004238b4e46b6a511b6b61a8d71133afeeedfd23 100644 --- a/Documentation/Cookbook/rst/Installation_Windows.txt +++ b/Documentation/Cookbook/rst/Installation_Windows.txt @@ -34,6 +34,12 @@ 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 ~~~~~~~~~~~~~~~ diff --git a/Documentation/SoftwareGuide/Latex/Installation.tex b/Documentation/SoftwareGuide/Latex/Installation.tex index a5521be83db8be2685853792a2dadc55017cd4a9..6c1531dc647cd109b5ebb1a094f7f078d06eb9b7 100644 --- a/Documentation/SoftwareGuide/Latex/Installation.tex +++ b/Documentation/SoftwareGuide/Latex/Installation.tex @@ -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{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} \label{sec:installation-linux-superbuild}