<div dir="ltr">Hi folks,<div><br></div><div>Great discussion.</div><div><br></div><div>Might I suggest creating an issue in the ParaView issue tracker (<a href="https://gitlab.kitware.com/paraview/paraview/issues">https://gitlab.kitware.com/paraview/paraview/issues</a>) to track progress on building Qt on Mac OS X 10.12 and continuing discussion there? I'd like to reserve this email thread for issues specific to ParaView 5.2.0-RC2.</div><div><br></div><div>Thanks,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 21, 2016 at 10:31 AM, David Thompson <span dir="ltr"><<a href="mailto:david.thompson@kitware.com" target="_blank">david.thompson@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Fabian,<br>
<br>
Your attempt to set CMAKE_OSX_SDK=10.12 was probably on the superbuild project, and it is not passed to the Qt subproject as QT_MAC_SDK. Try passing the proper value to CMAKE_OSX_SDK (i.e., the full path which is usually /Applications/Xcode.app/<wbr>Contents/Developer/Platforms/<wbr>MacOSX.platform/Developer/<wbr>SDKs/MacOSX10.12.sdk) and see if the superbuild properly determines the value of QMAKE_MAC_SDK from that.<br>
<span class="HOEnZb"><font color="#888888"><br>
        David<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> But your guess was right:<br>
><br>
> xcodebuild -showsdks<br>
> iOS SDKs:<br>
>       iOS 10.0                        -sdk iphoneos10.0<br>
><br>
> iOS Simulator SDKs:<br>
>       Simulator - iOS 10.0            -sdk iphonesimulator10.0<br>
><br>
> macOS SDKs:<br>
>       macOS 10.12                     -sdk macosx10.12<br>
><br>
> tvOS SDKs:<br>
>       tvOS 10.0                       -sdk appletvos10.0<br>
><br>
> tvOS Simulator SDKs:<br>
>       Simulator - tvOS 10.0           -sdk appletvsimulator10.0<br>
><br>
> watchOS SDKs:<br>
>       watchOS 3.0                     -sdk watchos3.0<br>
><br>
> watchOS Simulator SDKs:<br>
>       Simulator - watchOS 3.0         -sdk watchsimulator3.0<br>
><br>
><br>
><br>
>> Am 21.10.2016 um 16:11 schrieb Fabian Wein <<a href="mailto:fabian.wein@fau.de">fabian.wein@fau.de</a>>:<br>
>><br>
>> Did not work:<br>
>><br>
>> -DCMAKE_OSX_SDK=macosx10.12<br>
>><br>
>> in cmake ../paraview-superbuild -DENABLE_cxx11=ON -DENABLE_hdf5=ON -DENABLE_qt5=ON -Dsuperbuild_download_<wbr>location=~/tmp/pvsb_downloads -DCMAKE_OSX_ARCHITECTURES=x86_<wbr>64 -DCMAKE_OSX_DEPLOYMENT_TARGET=<wbr>10.12 -DCMAKE_OSX_SYSROOT=/<wbr>Applications/Xcode.app/<wbr>Contents/Developer/Platforms/<wbr>MacOSX.platform/Developer/<wbr>SDKs/MacOSX10.12.sdk -DCMAKE_OSX_SDK=macosx10.12<br>
>><br>
>> results in<br>
>><br>
>> erforming build step for 'qt5'<br>
>> Info: creating cache file /Users/fwein/tmp/pvsb/<wbr>superbuild/qt5/build/qtbase/.<wbr>qmake.cache<br>
>> /Applications/Xcode.app/<wbr>Contents/Developer/Toolchains/<wbr>XcodeDefault.xctoolchain/usr/<wbr>bin/ranlib: file: ../../../lib/libQt5Bootstrap.<wbr>a(qvector.o) has no symbols<br>
>> /Applications/Xcode.app/<wbr>Contents/Developer/Toolchains/<wbr>XcodeDefault.xctoolchain/usr/<wbr>bin/ranlib: file: ../../../lib/libQt5Bootstrap.<wbr>a(qvector.o) has no symbols<br>
>> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9<br>
>> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9<br>
>> Makefile:13164: warning: overriding commands for target `.moc/qeventdispatcher_cf.moc'<br>
>> Makefile:12994: warning: ignoring old commands for target `.moc/qeventdispatcher_cf.moc'<br>
>> clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9<br>
>> Undefined symbols for architecture x86_64:<br>
>> "std::__1::__vector_base_<wbr>common<true>::__throw_length_<wbr>error() const", referenced from:<br>
>>     void std::__1::vector<<wbr>QMetaMethodBuilderPrivate, std::__1::allocator<<wbr>QMetaMethodBuilderPrivate> >::__push_back_slow_path<<wbr>QMetaMethodBuilderPrivate>(<wbr>QMetaMethodBuilderPrivate&&) in qmetaobjectbuilder.o<br>
>>     void std::__1::vector<<wbr>QMetaPropertyBuilderPrivate, std::__1::allocator<<wbr>QMetaPropertyBuilderPrivate> >::__push_back_slow_path<<wbr>QMetaPropertyBuilderPrivate>(<wbr>QMetaPropertyBuilderPrivate&&) in qmetaobjectbuilder.o<br>
>>     void std::__1::vector<<wbr>QMetaEnumBuilderPrivate, std::__1::allocator<<wbr>QMetaEnumBuilderPrivate> >::__push_back_slow_path<<wbr>QMetaEnumBuilderPrivate>(<wbr>QMetaEnumBuilderPrivate&&) in qmetaobjectbuilder.o<br>
>> "void std::__1::__sort<std::__1::__<wbr>less<int, int>&, int*>(int*, int*, std::__1::__less<int, int>&)", referenced from:<br>
>>     QString::multiArg(int, QString const**) const in qstring.o<br>
>>     QSortFilterProxyModelPrivate::<wbr>_q_sourceHeaderDataChanged(Qt:<wbr>:Orientation, int, int) in qsortfilterproxymodel.o<br>
>>     QSortFilterProxyModel::<wbr>removeRows(int, int, QModelIndex const&) in qsortfilterproxymodel.o<br>
>> "std::bad_alloc::bad_alloc()", referenced from:<br>
>>     qBadAlloc() in qglobal.o<br>
>>     QVector<QList<bool (*)(void**)> >::reallocData(int, int, QFlags<QArrayData::<wbr>AllocationOption>) in qglobal.o<br>
>> ld: symbol(s) not found for architecture x86_64<br>
>> clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
>> make[6]: *** [../../lib/QtCore.framework/<wbr>QtCore] Error 1<br>
>> make[5]: *** [sub-corelib-make_first] Error 2<br>
>> make[4]: *** [sub-src-make_first] Error 2<br>
>> make[3]: *** [module-qtbase-make_first] Error 2<br>
>> CMake Error at /Users/fwein/tmp/pvsb/<wbr>superbuild/sb-qt5-build.cmake:<wbr>43 (message):<br>
>> Failed with exit code 2<br>
>><br>
>> I have the impressions that my other issues and comments on the gitlab issue tracker are removed, so I stop posting reports of attempts there.<br>
>><br>
>><br>
>><br>
>>> CMAKE_OSX_SDK needs to be something like `macosx10.9`.  I forget the command to make XCode list the valid sdk versions available.  For your case I would guess `macosx10.12` is the correct value.  Qt looks up the path to the SDK from that string.<br>
>>><br>
>>> HTH,<br>
>>> Shawn<br>
>>><br>
>>> On Fri, Oct 21, 2016 at 7:07 AM, Fabian Wein <<a href="mailto:fabian.wein@fau.de">fabian.wein@fau.de</a>> wrote:<br>
>>> I added a lot of the stuff to the issue tracker.<br>
>>><br>
>>> I’m currently lost with building qt5 on macOS 10.12. It’s a qmake issue, I tracked it down to<br>
>>><br>
>>> Creating qmake... Running configuration tests... Failed to process makespec for platform ‚macx-clang' Info: creating stash file /Users/fwein/tmp/pvsb/<wbr>superbuild/qt5/build/qtbase/.<wbr>qmake.stash Project ERROR: QMAKE_MAC_SDK can only contain short-form SDK names (eg. macosx, iphoneos) CMake Error at /Users/fwein/tmp/pvsb/<wbr>superbuild/sb-qt5-configure.<wbr>cmake:43 (message):<br>
>>><br>
>>> And it has a connection to the CMAKE_OSX_SDK I do not know what to set. CMAKE_OSX_SDK=macosx does not help.<br>
>>><br>
>>> Any qt5 configuration expert reading?<br>
>>><br>
>>>> Am 20.10.2016 um 17:18 schrieb Ben Boeckel <<a href="mailto:ben.boeckel@kitware.com">ben.boeckel@kitware.com</a>>:<br>
>>>><br>
>>>> On Thu, Oct 20, 2016 at 15:13:51 +0300, Gena Bug via ParaView wrote:<br>
>>>>> Now, with RC2, fontconfig warns me about blank section:<br>
>>>>><br>
>>>>> Fontconfig warning: line 160: blank doesn't take any effect anymore.<br>
>>>>> please remove it from your fonts.conf<br>
>>>><br>
>>>> We're now using a newer fontconfig, so the fontconfig may be newer than<br>
>>>> your system, so this is just fontconfig being more pedantic than your<br>
>>>> distro. Looking at fontconfig, there's no environment variable to<br>
>>>> suppress these warnings.<br>
>>>><br>
>>>>> However, that all -- no more new folder "fontconfig" in the running<br>
>>>>> directory. Thank you, that was really annoying!<br>
>>>>><br>
>>>>> Also, lib-dynload is still missing in the lib/python2.7<br>
>>>><br>
>>>> Ah, the superbuild didn't get bumped for that fix yet. I'll do that<br>
>>>> today.<br>
>>>><br>
>>>> --Ben<br>
>>>> ______________________________<wbr>_________________<br>
>>>> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>>>><br>
>>>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
>>>><br>
>>>> Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
>>>><br>
>>>> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
>>>><br>
>>>> Follow this link to subscribe/unsubscribe:<br>
>>>> <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
>>><br>
>>> ______________________________<wbr>_________________<br>
>>> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>>><br>
>>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
>>><br>
>>> Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
>>><br>
>>> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
>>><br>
>>> Follow this link to subscribe/unsubscribe:<br>
>>> <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
>>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
>><br>
>> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
><br>
> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Cory Quammen<br>Staff R&D Engineer<br>Kitware, Inc.</div>
</div>