[vtkusers] VTK (5.4.2) + Xcode(3.2.1) on Mac (SnowLeopard 10.6)
Sean McBride
sean at rogue-research.com
Wed May 19 12:32:15 EDT 2010
On Fri, 14 May 2010 18:52:28 -0600, Scott Harris said:
>Dylibs: Well, I got this working a few years ago where I had VTK+Cocoa
>+Python+PyObjC+ObjC all working together in a demo app. I never went
>beyond that, but I'd like to get back to it. It was on an old version of
>OSX on PPC. The dylibs are required for Python since you need to import
>the VTK stuff at runtime.
>
>The odd thing that I'm seeing now is that if I build the dylibs and link
>to the .a files, the project somehow thinks I'm using dylibs. Rebuilding
>VTK for static libs fixes the issue.
>
>Are the .a files really different when I build shared libs? I was hoping
>to have both versions in one place.
I'm not sure CMake supports that.
>I'm going to try building the static libs in one directory and shared
>libs in another
That should certainly work.
>As far as that linker path goes, where does it come from? I could not
>find the source of it when I was poking around in the XCode settings.
I forget exactly, but you could use the git web interface to examine the
changes I committed.
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtkusers
mailing list