[vtk-developers] Dashboard

David Gobbi david.gobbi at gmail.com
Fri Jan 6 11:43:49 EST 2017


On Fri, Jan 6, 2017 at 9:18 AM, David Gobbi <david.gobbi at gmail.com> wrote:

> On Fri, Jan 6, 2017 at 8:27 AM, Ben Boeckel <ben.boeckel at kitware.com>
> wrote:
>>
>>
>> Do you remember what version of Qt4? 4.8.6 definitely doesn't like even
>> 10.10's SDK.
>
>
> It was qt-opensource-mac-4.8.6-1.dmg (I wasn't building Qt from source).
> I was using this on a 10.12 system with the "xcode 8.1 command line tools"
> rather than the full Xcode, though that shouldn't make a difference.  CMake
> settings were as follows:
>
> CMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.6
> CMAKE_OSX_SYSROOT:STRING=/
>
> The use of such an ancient target meant that "libstdc++" was used instead
> of the modern "libc++".  This might be the reason that it worked.
>

I also explicitly added "-stdlib=libstdc++" to the CMAKE_CXX_FLAGS.  In
retrospect I don't think this was necessary for a target of 10.6, but it
probably is necessary for a target of 10.9 when building against Qt 4.8.

 - David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170106/a1837925/attachment.html>


More information about the vtk-developers mailing list