[vtkusers] SimpleCocoaVTK build error: /usr/bin/ld: can't locate file for: -lvtkIO
Juan Vesa
juan.vesa at gmail.com
Mon Jan 18 18:44:23 EST 2010
hi,
the reason i'm on 10.4 still is because i rely extensively on matlab
for uni coursework and the version i have is only compatible with
10.4 and i can't afford to upgrade yet.
however soon i'm going to set up an extra partition for 10.6 maybe to
give it a try.
yeah i set the source tree's to the vtk-include and vtk-lib as
outlined on the wiki, but the target in the xcode project has the
HEADER_SEARCH_PATH and LIBRARY_SEARCH_PATH by default using a
variable $(vtk-debug) which the
original rogue-research.com/vtk/SimpleCocoaVTK.html specifies to use.
at any rate, i found another site at cs.auckland.ac.nz/~jli023/vtk/
VtkprogammingonMac.htm which has a template (which i've not tried
yet) and the cmake <path/to/source> -G Xcode command compiles the
examples and i get a working xcode project from them (although i
still get errors in cmake), so i guess i'll go from there.
thanks a lot for your help,,
On 19/01/2010, at 3:15 AM, Sean McBride wrote:
> On 1/18/10 9:49 PM, Juan Vesa said:
>
>> i am new to vtk, trying to set it up for use in os x 10.4.11 2.4.1
>> (intel) for the first time.
>
> Welcome to vtk!
>
> First, may I ask why you are using 10.4? :) It should work, but you
> would be well served to not use such an old OS.
>
>> i followed the SimpleCocoaVTK according
>> to http://www.vtk.org/Wiki/Cocoa_VTK although i had to modify the
>> header search paths and library search paths for the target
>> executable to point to my personal /includes and /lib respectively.
>> however i get one error pop up when i build and run, which reads:
>
> You should not have needed to change any of the project settings. Did
> you set your Source Trees as per the instructions?
>
> --
> ____________________________________________________________
> 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