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>
>> 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:
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtk-developers