Hello,

I just checked out the last OTB release and I used Superbuilt to compile 
the source.
Unfortunately the process failed when building QT4.

Here is the error retrieved by the make command :

...
-- Up-to-date: /lib/libfreetype.so
[ 66%] Completed 'FREETYPE'
[ 66%] Built target FREETYPE
[ 67%] Creating directories for 'QT4'
[ 67%] Performing download step (download, verify and extract) for 'QT4'
-- verifying file...
     
file='/home/baptistelafabregue/OTB/build/Downloads/qt-everywhere-opensource-src-4.8.7.tar.gz'
-- verifying file... done
-- extracting...
     
src='/home/baptistelafabregue/OTB/build/Downloads/qt-everywhere-opensource-src-4.8.7.tar.gz'
     dst='/home/baptistelafabregue/OTB/build/QT4/src/QT4'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 67%] No update step for 'QT4'
[ 68%] No patch step for 'QT4'
[ 68%] Performing QT4_custom_patch step for 'QT4'
Input patch file: 
/home/baptistelafabregue/OTB/otb/SuperBuild/patches/QT4/qt4-1-skip-qtnetwork-module-all.diff
patching file src/plugins/graphicssystems/graphicssystems.pro
patching file src/plugins/plugins.pro
patching file src/src.pro
[ 68%] Performing configure step for 'QT4'
CMake Error at 
/home/baptistelafabregue/OTB/build/QT4/src/QT4-stamp/QT4-configure-Release.cmake:16
 
(message):
  Command failed: 1

   '/home/baptistelafabregue/OTB/build/configure_qt4.sh'

  See also

    /home/baptistelafabregue/OTB/build/QT4/src/QT4-stamp/QT4-configure-*.log


CMakeFiles/QT4.dir/build.make:115: recipe for target 
'QT4/src/QT4-stamp/QT4-configure' failed
make[2]: *** [QT4/src/QT4-stamp/QT4-configure] Error 1
CMakeFiles/Makefile2:583: recipe for target 'CMakeFiles/QT4.dir/all' failed
make[1]: *** [CMakeFiles/QT4.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

When looking at the log files, it seems like there is some missing 
arguments.
There is nothing in the *err.log, and here is the content of the *out.log :


/freetype2: unknown argument
Determining system architecture... (Linux:4.4.0-45-generic:x86_64)
    64-bit AMD 80x86 (x86_64)
    'x86_64' is supported
System architecture: 'x86_64'
Precompiled-headers support enabled.
Symbol visibility control enabled.

Usage:  configure [-h] [-prefix <dir>] [-prefix-install] [-bindir <dir>] 
[-libdir <dir>]
        [-docdir <dir>] [-headerdir <dir>] [-plugindir <dir> ] [-importdir 
<dir>] [-datadir <dir>]
        [-translationdir <dir>] [-sysconfdir <dir>] [-examplesdir <dir>]
        [-demosdir <dir>] [-buildkey <key>] [-release] [-debug]
        [-debug-and-release] [-developer-build] [-shared] [-static] 
[-no-fast] [-fast] [-no-largefile]
        [-largefile] [-no-exceptions] [-exceptions] [-no-accessibility]
        [-accessibility] [-no-stl] [-stl] [-no-sql-<driver>] [-sql-<driver>]
        [-plugin-sql-<driver>] [-system-sqlite] [-no-qt3support] 
[-qt3support]
        [-platform] [-D <string>] [-I <string>] [-L <string>] [-help]
        [-qt-zlib] [-system-zlib] [-no-gif] [-no-libtiff] [-qt-libtiff] 
[-system-libtiff]
        [-no-libpng] [-qt-libpng] [-system-libpng] [-no-libmng] [-qt-libmng]
        [-system-libmng] [-no-libjpeg] [-qt-libjpeg] [-system-libjpeg] 
[-make <part>]
        [-nomake <part>] [-R <string>]  [-l <string>] [-no-rpath]  [-rpath] 
[-continue]
        [-verbose] [-v] [-silent] [-no-nis] [-nis] [-no-cups] [-cups] 
[-no-iconv]
        [-iconv] [-no-pch] [-pch] [-no-dbus] [-dbus] [-dbus-linked] 
[-no-gui]
        [-no-separate-debug-info] [-no-mmx] [-no-3dnow] [-no-sse] [-no-sse2]
        [-no-sse3] [-no-ssse3] [-no-sse4.1] [-no-sse4.2] [-no-avx] 
[-no-neon]
        [-qtnamespace <namespace>] [-qtlibinfix <infix>] 
[-separate-debug-info] [-armfpa]
        [-no-optimized-qmake] [-optimized-qmake] [-no-xmlpatterns] 
[-xmlpatterns]
        [-no-multimedia] [-multimedia] [-no-phonon] [-phonon] 
[-no-phonon-backend] [-phonon-backend]
        [-no-media-backend] [-media-backend] [-no-audio-backend] 
[-audio-backend] 
        [-no-openssl] [-openssl] [-openssl-linked]
        [-no-gtkstyle] [-gtkstyle] [-no-svg] [-svg] [-no-webkit] [-webkit] 
[-webkit-debug]
        [-no-javascript-jit] [-javascript-jit]
        [-no-script] [-script] [-no-scripttools] [-scripttools] 
        [-no-declarative] [-declarative] [-no-declarative-debug] 
[-declarative-debug]
        [additional platform specific options (see below)]


Installation options:

    -qpa [name] ......... This will enable the QPA build.
                          QPA is a window system agnostic implementation of 
Qt.
                          If [name] is given, sets the default QPA platform 
(e.g xcb, cocoa).

 These are optional, but you may specify install directories.

    -prefix <dir> ...... This will install everything relative to <dir>
                         (default 
/home/baptistelafabregue/OTB/build/QT4/src/QT4/-L)

  * -prefix-install .... Force a sandboxed "local" installation of
                         Qt. This will install into
                         /home/baptistelafabregue/OTB/build/QT4/src/QT4/-L, 
if this option is
                         disabled then some platforms will attempt a
                         "system" install by placing default values
                         in a system location other than PREFIX.

 You may use these to separate different parts of the install:

    -bindir <dir> ......... Executables will be installed to <dir>
                            (default PREFIX/bin)
....

That seems surprising, I didn't have any trouble with the previous version.

Tanks,
Baptiste

-- 
-- 
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.

Reply via email to