[vtkusers] vtkpython on mac os?
Michka Popoff
michkapopoff at gmail.com
Tue Feb 2 13:02:46 EST 2016
Hi
yes probably. Not sure about all the details, but you may want
to have a continuous build were missing symbols are not replaced.
In another SimpleITK discussion this time (http://review.source.kitware.com/#/c/20442/),
it seems that this also woks with gcc42 which is good for people building packages on older
OS X systems.
This blog post describing everything more in-depth was also found:
http://blog.tim-smith.us/2015/09/python-extension-modules-os-x/
"On Linux, building with -shared tells the linker to ignore undefined symbols,
assuming that the dynamic linker will be able to resolve them at runtime.”
Using "-undefined dynamic_lookup” on OS X restores this behaviour.
Hope that helps.
Michka
> On 02 Feb 2016, at 15:52, Ben Boeckel <ben.boeckel at kitware.com> wrote:
>
> On Fri, Jan 29, 2016 at 08:37:50 +0100, Michka Popoff wrote:
>> I made the “-undefined dynamic_lookup” change in ITK some time ago.
>> This is even now required by the homebrew package managers on OS X.
>>
>> Citing myself from http://review.source.kitware.com/#/c/20072/1,
>> (were you also can find the changes I made in cmake to make it work):
>
> Does this hide linker warnings about other undefined symbols? We have
> other platforms which don't do this, so I guess we can just leave those
> to test missing symbol cases if so.
>
> --Ben
More information about the vtkusers
mailing list