[vtkusers] VTK (5.4.2) + Xcode(3.2.1) on Mac (SnowLeopard 10.6)

Sean McBride sean at rogue-research.com
Fri May 14 19:09:53 EDT 2010


On Thu, 13 May 2010 20:29:34 -0600, Scott Harris said:

>Along these lines, I tried to convert the SimpleCocoaVTK demo from
>static libs to dylibs

Why?  (Just curious)

dylibs are a pain because they include within them the path where they
need to be installed.

>Also, there is a linker path during compile that I can't find the origin
>of in XCode:
>
>Ld /Users/scott/Development/Cocoa/build/Debug/SimpleCocoaVTK.app/
>Contents/MacOS/SimpleCocoaVTK normal i386
>cd /Users/scott/Development/Cocoa
>setenv MACOSX_DEPLOYMENT_TARGET 10.5
>/Developer/usr/bin/g++-4.2 -arch i386 -isysroot /Developer/SDKs/
>MacOSX10.6.sdk -L/Users/scott/Development/Cocoa/build/Debug -L/Users/
>scott/Development/vtk5Build/lib/vtk-5.6 -L/Users/scott/Development/
>Cocoa/../../../../kitware/VTK-debug-install/lib/vtk-5.5 -L/Users/scott/
>Development/Cocoa/../vtk5Build/lib/vtk-5.6 -F/Users/scott/Development/
>Cocoa/build/Debug -filelist /Users/scott/Development/Cocoa/build/
>SimpleCocoaVTK.build/Debug/SimpleCocoaVTK.build/Objects-normal/i386/
>SimpleCocoaVTK.LinkFileList -mmacosx-version-min=10.5 -lz -framework
>Cocoa -framework OpenGL -lvtkCommon -lvtkftgl -lvtkGenericFiltering -
>lvtkGraphics -lvtkHybrid -lvtkImaging -lvtkIO -lvtkpng -lvtkRendering -
>lvtksys -lvtktiff -lvtkjpeg -framework IOKit -lvtkFiltering -o /Users/
>scott/Development/Cocoa/build/Debug/SimpleCocoaVTK.app/Contents/MacOS/
>SimpleCocoaVTK
>
>ld: warning: directory '/Users/scott/Development/Cocoa/../../../../
>kitware/VTK-debug-install/lib/vtk-5.5' following -L not found

Whoops.  That's my fault.  I've fixed it locally, but am scared to do my
first push to the new git repo late on a Friday, I'll do it Monday morning....

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