or do we change the verbiage in the external_otb.cmake file which has a
line that states -DOTB_USE_QT:BOOL=${OTB_USE_QT} to -DOTB_USE_QT=OFF.
Thanks,
Shaffiq
On Tuesday, September 4, 2018 at 11:44:26 PM UTC-4, Shaffiq Somani wrote:
>
> Dear Guillaume,
>
> Thanks for the update. I had no luck installing the QT5 and make it
> work. If I do do a script, how do I disable the Qt with "
> *-DOTB_USE_QT=OFF*" since I am not sure on how to incorporate the line.
>
> Are the steps shown below are the ones that I follow, since I am not
> really a computer programmer or a CMAKE person.
>
> 1. *cmake *-DOTB_USE_QT=OFF
> * CMAKE_INSTALL_PREFIX=~/OTB/install ../otb/SuperBuild*
> *2. *cd ~/OTB/build
> 3. make
>
> or do I do something differently.
>
> Thanks,
>
> Shaffiq
>
>
>
> On Tuesday, September 4, 2018 at 2:31:44 AM UTC-4, Guillaume Pasero wrote:
>>
>> Hi,
>>
>> We usually build OTB on macOS 10.10 and this error doesn't show up. You
>> can disable Qt with "-DOTB_USE_QT=OFF", your OTB will not use Qt
>> (meaning no GUI launcher for application, no monteverdi, no mapla, but you
>> will still have command line applications).
>>
>> In your case, I am not sure Homebrew can help. What you can try is to get
>> a Qt 5 install on your system, and use it in the SuperBuild with
>> -DUSE_SYSTEM_QT5=ON.
>>
>> Regards,
>> Guillaume
>>
>> On 09/04/2018 05:52 AM, Shaffiq Somani wrote:
>>
>> Almost forgot.
>>
>> I am using Mac OS High Sierra, 4 cores, and the superbuild option. I am
>> stuck at 14%. Do I need to install Homebrew to get it resolved or is there
>> any other place I should post it.
>>
>> Thanks
>>
>> On Monday, September 3, 2018 at 12:17:33 PM UTC-4, Shaffiq Somani wrote:
>>>
>>> Hello,
>>>
>>> I am trying to build the OTB Toolbox, using CMAKE. However, the QT5
>>> had an installation failure which is listed below. Has anyone had the
>>> issue and know how to resolve it for the MAC OS High Sierra. I am
>>> following the command lines from
>>>
>>> https://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech2.html
>>>
>>>
>>> *Terminal Error*
>>>
>>> CMake Error at
>>> /Users/shaffiqsomani/OTB/build/QT5/src/QT5-stamp/QT5-build-Release.cmake:16
>>> (message):
>>>
>>> Command failed: 2
>>>
>>>
>>> '/Applications/Xcode.app/Contents/Developer/usr/bin/make'
>>>
>>>
>>> See also
>>>
>>>
>>> /Users/shaffiqsomani/OTB/build/QT5/src/QT5-stamp/QT5-build-*.log
>>>
>>>
>>>
>>> make[2]: *** [QT5/src/QT5-stamp/QT5-build] Error 1
>>>
>>> make[1]: *** [CMakeFiles/QT5.dir/all] Error 2
>>>
>>> make: *** [all] Error 2
>>>
>>>
>>> *QT5-build-err.log*
>>>
>>> ld: warning: direct access in function 'QHash<QString,
>>> int>::insert(QString const&, int const&)' from file
>>> '/Users/shaffiqsomani/OTB/build/QT5/build/qtbase/lib/libQt5Bootstrap.a(qcommandlineparser.o)'
>>>
>>> to global weak symbol 'QHash<QString, int>::deleteNode2(QHashData::Node*)'
>>> from file '.obj/rcc.o' means the weak symbol cannot be overridden at
>>> runtime. This was likely caused by different translation units being
>>> compiled with different visibility settings.
>>>
>>> ld: warning: direct access in function 'QHash<QString,
>>> int>::insert(QString const&, int const&)' from file
>>> '/Users/shaffiqsomani/OTB/build/QT5/build/qtbase/lib/libQt5Bootstrap.a(qcommandlineparser.o)'
>>>
>>> to global weak symbol 'QHash<QString, int>::deleteNode2(QHashData::Node*)'
>>> from file '.obj/rcc.o' means the weak symbol cannot be overridden at
>>> runtime. This was likely caused by different translation units being
>>> compiled with different visibility settings.
>>>
>>> ld: warning: direct access in function 'QHash<QString,
>>> int>::insert(QString const&, int const&)' from file
>>> '/Users/shaffiqsomani/OTB/build/QT5/build/qtbase/lib/libQt5Bootstrap.a(qcommandlineparser.o)'
>>>
>>> to global weak symbol 'QHash<QString, int>::duplicateNode(QHashData::Node*,
>>> void*)' from file '.obj/rcc.o' means the weak symbol cannot be overridden
>>> at runtime. This was likely caused by different translation units being
>>> compiled with different visibility settings.
>>>
>>> ld: warning: direct access in function
>>> 'QCommandLineParserPrivate::~QCommandLineParserPrivate()' from file
>>> '/Users/shaffiqsomani/OTB/build/QT5/build/qtbase/lib/libQt5Bootstrap.a(qcommandlineparser.o)'
>>>
>>> to global weak symbol 'QHash<QString, int>::deleteNode2(QHashData::Node*)'
>>> from file '.obj/rcc.o' means the weak symbol cannot be overridden at
>>> runtime. This was likely caused by different translation units being
>>> compiled with different visibility settings.
>>>
>>> ld: warning: linking against a dylib which is not safe for use in
>>> application extensions: /Users/shaffiqsomani/OTB/install/lib/libz.dylib
>>>
>>> /Users/shaffiqsomani/OTB/build/QT5/src/QT5/qtbase/src/network/access/qnetworkaccessdebugpipebackend_p.h:0:
>>>
>>> Note: No relevant classes found. No output generated.
>>>
>>> ld: warning: linking against a dylib which is not safe for use in
>>> application extensions: /Users/shaffiqsomani/OTB/install/lib/libz.dylib
>>>
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
>>>
>>> file: ../../../lib/libqtharfbuzz.a(hb-warning.o) has no symbols
>>>
>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib:
>>>
>>> file: ../../../lib/libqtharfbuzz.a(hb-warning.o) has no symbols
>>>
>>> ld: warning: linking against a dylib which is not safe for use in
>>> application extensions: /Users/shaffiqsomani/OTB/install/lib/libpng.dylib
>>>
>>> ld: warning: linking against a dylib which is not safe for use in
>>> application extensions: /Users/shaffiqsomani/OTB/install/lib/libz.dylib
>>>
>>> ld: warning: linking against a dylib which is not safe for use in
>>> application extensions: /Users/shaffiqsomani/OTB/install/lib/libz.dylib
>>>
>>> /Users/shaffiqsomani/OTB/build/QT5/src/QT5/qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm:833:20:
>>>
>>> error: qualified reference to 'QFixed' is a constructor name rather than a
>>> type in this context
>>>
>>> return QFixed::QFixed(int(CTFontGetUnitsPerEm(ctfont)));
>>>
>>> ^
>>>
>>> 1 error generated.
>>>
>>> make[7]: *** [.obj/qfontengine_coretext.o] Error 1
>>>
>>> make[6]: *** [sub-fontdatabases-make_first] Error 2
>>>
>>> make[5]: *** [sub-platformsupport-make_first] Error 2
>>>
>>> make[4]: *** [sub-src-make_first] Error 2
>>>
>>> make[3]: *** [module-qtbase-make_first] Error 2
>>>
>>>
>>> I see that that you can turn off the QT installation, by using the
>>> command -DOTB_USE_QT=OFF *to cmake,* and I was wondering if I can link
>>> it to the application binary. If I can, how do I turn off the QT. Is that
>>> just an adjustment to the cmake text file, or would it be done in terminal.
>>>
>>>
>>> Thanks so much for your assistance,
>>>
>>>
>>> Shaffiq
>>>
>> --
>> --
>> 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.
>>
>>
>> --
>> <http://www.c-s.fr> *Guillaume PASERO*
>> Responsable technique
>> *Business Unit ESPACE & GeoInformation - Département Payload Data &
>> Applications*
>>
>> *CS Systèmes d'Information*
>> Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
>> 31506 Toulouse Cedex 05 - FRANCE
>> +33 561 17 64 21 - [email protected]
>>
>
--
--
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.