On Tuesday, June 28, 2016 11:45:38 PM Jordi Inglada wrote: > Hi, > > It seems that you are building inside the source tree. I think this is not a > good thing. Prefer building outside : > > cd ~ > mkdir -p Superbuild/OTB > cd Superbuild/OTB > ccmake [with all your options] $OTB_SOURCE_DIR > make > > I wrote a detailed procedure here > http://jordiinglada.net/wp/2015/05/27/installing-otb-has-never-been-so-easy > -8/. It is for Debian, but should work for other distros also with minor > changes. > > I hope this helps.
Hi Jordi, thanks for your answer. Actually I was building outside of the source tree, however, there were still remains of previous accidental in-source-tree build. That might have been the problem. Plus that I tried to build with as many system libs as possible. And that I appeared to miss the gold linker, which also gave problems. But I found https://cmake.org/pipermail/insight-users/2015-November/052800.html :-). After installing binutils-gold, finally the superbuild went fine. Thanks for your time (and for the superbuild process!), Vincent. > > Jordi > > Vincent Schut <[email protected]> wrote: > > Hi, > > > > I'm trying to do a superbuild of otb (on linux opensuse leap). The > > superbuild fails after the OTB configuration stage, as follows: > > > > ... > > [ 80%] Performing install step for 'QT4' > > [ 82%] Completed 'QT4' > > [ 82%] Built target QT4 > > Scanning dependencies of target OTB > > [ 84%] Creating directories for 'OTB' > > [ 86%] No download step for 'OTB' > > [ 90%] No patch step for 'OTB' > > [ 90%] No update step for 'OTB' > > [ 92%] Performing configure step for 'OTB' > > loading initial cache file /home/vincent/src/otb/build/OTB/tmp/OTB-cache- > > Release.cmake > > -- Found OTB version : 5.5.0 > > -- Check if superbuild is in OTB tree : ON > > -- Environment setup for Configure : > > env;LD_LIBRARY_PATH=/home/vincent/OTB/install/lib:;CC=/usr/bin/cc;CXX=/usr > > /bin/c++ -- |---------------------------------------------------------- > > -- |----------------- System checkup results ----------------- > > -- | The following libraries have been found on your system. > > -- | You can choose to use them (instead of superbuild versions) > > -- | by setting the corresponding option USE_SYSTEM_XXX. > > -- |---------------------------------------------------------- > > -- | Boost (1.54.0) : (unknown) > > -- |---------------------------------------------------------- > > -- | CURL (7.37.0) : /usr/lib64/libcurl.so > > -- |---------------------------------------------------------- > > -- | GDAL (2.2.0) : /usr/local/lib64/libgdal.so > > -- |---------------------------------------------------------- > > -- | GeoTIFF (1.4.1) : /usr/lib64/libgeotiff.so > > -- |---------------------------------------------------------- > > -- | LibKML (1.3.0) : > > /usr/local/lib64/libkmlbase.so;/usr/local/lib64/libkmlconvenience.so;/usr/ > > local/lib64/libkmldom.so;/usr/local/lib64/libkmlengine.so;/usr/local/lib64 > > /libkmlregionator.so;/usr/local/lib64/libkmlxsd.so;/usr/local/lib64/libmin > > izip.so -- |---------------------------------------------------------- > > -- | LibSVM (3.1.7) : /usr/lib64/libsvm.so > > -- |---------------------------------------------------------- > > -- | MuParser (2.2.5) : /usr/lib64/libmuparser.so > > -- |---------------------------------------------------------- > > -- | MuParserX (3.0.5) : /usr/lib64/libmuparserx.so > > -- |---------------------------------------------------------- > > -- | OpenCV (2.4.11) : /usr/share/OpenCV > > -- |---------------------------------------------------------- > > -- | OpenJPEG (2.1.0) : /usr/lib64/openjpeg-2.1 > > -- |---------------------------------------------------------- > > -- | OpenThreads (3.3.0) : /usr/lib64/libOpenThreads.so > > -- |---------------------------------------------------------- > > -- | PNG (1.6.8) : /usr/lib64/libpng.so > > -- |---------------------------------------------------------- > > -- | Qt4 (4.8.6) : (unknown) > > -- |---------------------------------------------------------- > > -- | TinyXML (2.6.2) : /usr/lib64/libtinyxml.so > > -- |---------------------------------------------------------- > > -- Using Monteverdi SuperBuild version > > -- Using OTB SuperBuild version > > -- Using GDAL system version > > -- Using OSSIM SuperBuild version > > -- Using libtiff system version > > -- Using GeoTIFF system version > > -- Using GEOS SuperBuild version > > -- Custom patches required for GEOS > > -- Using libjpeg system version > > -- Using OpenThreads system version > > -- Using FreeType SuperBuild version > > -- Using ITK system version > > -- Using TinyXML system version > > -- Using Boost system version > > -- Using cURL system version > > -- Using libKML system version > > -- Using OpenCV system version > > -- Using LibSVM system version > > -- Using muParser system version > > -- Using muParserX system version > > -- Using Qt4 system version > > -- Using GLEW system version > > -- Using QWT system version > > -- Configuring done > > -- Generating done > > -- Build files have been written to: /home/vincent/src/otb > > [ 94%] Performing build step for 'OTB' > > make[3]: *** No targets specified and no makefile found. Stop. > > CMakeFiles/OTB.dir/build.make:115: recipe for target > > 'OTB/src/OTB-stamp/OTB- build' failed > > make[2]: *** [OTB/src/OTB-stamp/OTB-build] Error 2 > > CMakeFiles/Makefile2:69: recipe for target 'CMakeFiles/OTB.dir/all' failed > > make[1]: *** [CMakeFiles/OTB.dir/all] Error 2 > > Makefile:83: recipe for target 'all' failed > > make: *** [all] Error 2 > > > > btw in the ccmake I did set boost and qt4 to NOT use the system version > > (as > > you can see above qt4 did get compiled and installed), however, in the > > table the otb config is printing, boost and qt4 are still marked as > > "using system version". Don't know if that has something to do with the > > error, or it might just be a red herring. > > Anyway, any hints or tips welcome! > > > > Vincent. -- -- 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.
