There appears to be conflicting information on the website when it comes to compiling OTB from source. For example, the FAQ <http://orfeo-toolbox.sourceforge.net/FAQ/OTB-FAQ.html#SECTION00052000000000000000> has slightly different instructions than the Software Guide <http://orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech2.html>, and virtually no instructions are provided when installing via PPA <https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable> (other than how to install the PPA itself).
I'm sure for the well-initiated with compiling their own code that these are minor issues, but for an end-user like myself, it becomes a bit of challenge each time I'd like to install a newer version of OTB. Sure, I don't need to use the latest version (at the time of writing, 4.2), but I think some clear, non-conflicting instructions should be made available. For example, instead of listing the websites for the individual libraries required, identify the names of the specific libraries required for each distro. Clear, updated step-by-step instructions are required with a time stamp, so that we might know whether the instructions are referring to some older version, or the latest, or are relevant to all versions. Perhaps a dedicated wiki-page for some of major distros (CentOS, Debian-specific, Ubuntu-specific, etc.) would be appropriate? A (strongly) suggested alternative would be to provide a VM image (a dedicated OTB image vs. OSGEO-Live <http://live.osgeo.org/en/index.html>) and/or Vagrant <https://www.vagrantup.com/>/Docker <https://www.docker.com/> options for rapid deployment. This way your end user isn't spending time fiddling with compiling, and instead, is spending more time using/testing the software. Another benefit of this approach is less time dealing with technical issues related to the multitude of distro/library combinations that are possible. I think OTB is great, but I'd like to see less friction when it comes to trying out the latest version. On Friday, 19 December 2014 23:27:33 UTC-5, dcd wrote: > > hg clone http://hg.orfeo-toolbox.org/OTB- > > --dirs > OTB (source) OTB-bin (folder for binaries) > > --after cloning the source, and running configure in the cmake GUI, I get > the following: > > CMake Warning at CMake/ImportLibKML.cmake:22 (message): > There is a known issue which does not allow to use internal libKML with > external ITK in OTB.You might consider using an external LibKML. See > http://bugs.orfeo-toolbox.org/view.php?id=896 for details > Call Stack (most recent call first): > CMakeLists.txt:220 (include) > > --back in cmake GUI, I then disable ITK external > OTB_USE_EXTERNAL_ITK = OFF (previously on) > > ATTENTION: You have enabled the use of fftw, this library is distributed > under a GPL license. By enabling this > option, the binary of the ITK libraries that you are going to build will > be covered by a GPL license, and so it > will be any executable that you link against these libraries. > > CMake Error: The following variables are used in this project, but they > are set to NOTFOUND. > Please set them or make sure they are set and tested correctly in the > CMake files: > FFTWD_LIB (ADVANCED) > linked by target "ITKFFT" in directory > /home/prophet6/OTB/Utilities/ITK/Modules/Filtering/FFT/src > linked by target "OTBBasicFilters" in directory > /home/prophet6/OTB/Code/BasicFilters > FFTWF_LIB (ADVANCED) > linked by target "ITKFFT" in directory > /home/prophet6/OTB/Utilities/ITK/Modules/Filtering/FFT/src > linked by target "OTBBasicFilters" in directory > /home/prophet6/OTB/Code/BasicFilters > > --back in cmake GUI, I then disable FFTWD and FFTWF > ITK_USE_FFTWD > OFF > > > ITK_USE_FFTWF OFF > > --seems to work, pressed 'g', then dumped to command line > --ran sudo make install > > everything seems to run fine; however, if I try running something from the > command line, I get the following: > > $ otbcli_ComputeConfusionMatrix > /usr/local/bin/otbApplicationLauncherCommandLine: error while loading > shared libraries: libOTBWrapperCommandLine.so.4.3: cannot open shared > object file: No such file or directory > > I've followed the FAQ and install instructions, but perhaps I've missed > something. I'm installing to VM with Ubuntu 14.10 and GDAL 1.10 installed. > > Are there updated detailed instructions anywhere? For example, in the FAQ > under "Which libraries/packages are needed before compiling and > installing OTB? > <http://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuideli2.html#QQ2-14-22>", > > it lists the software, but not the actual packages that need to be > installed. It would be nice to have a line that I can just cut and paste > for apt-get to fetch everything needed. Also it would be nice to have > setups that detail minimal installs (e.g., command line only) vs full > installs (everything in the minimal plus montverdi etc.) > -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
