[vtkusers] SimpleCocoaVTK build error: /usr/bin/ld: can't locate file for: -lvtkIO

Juan Vesa juan.vesa at gmail.com
Mon Jan 18 05:49:03 EST 2010


hi,
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. 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:

Building target “SimpleCocoaVTK” of project “SimpleCocoaVTK” with  
configuration “Release” — (1 error)
	    cd /Volumes/DATA/code/VTKBuild/_myVTK/SimpleCocoaVTK
     /usr/bin/g++-4.0 -o /Volumes/DATA/code/VTKBuild/_myVTK/ 
SimpleCocoaVTK/build/SimpleCocoaVTK.build/Release/ 
SimpleCocoaVTK.build/Objects-normal/ppc/SimpleCocoaVTK -L/Volumes/ 
DATA/code/VTKBuild/_myVTK/SimpleCocoaVTK/build/Release -L/Volumes/ 
DATA/code/VTKBuild/lib -F/Volumes/DATA/code/VTKBuild/_myVTK/ 
SimpleCocoaVTK/build/Release -filelist /Volumes/DATA/code/VTKBuild/ 
_myVTK/SimpleCocoaVTK/build/SimpleCocoaVTK.build/Release/ 
SimpleCocoaVTK.build/Objects-normal/ppc/SimpleCocoaVTK.LinkFileList - 
framework Cocoa -framework OpenGL -lvtkIO -lvtkFiltering -lvtkHybrid - 
lvtkRendering -lvtkpng -lvtkImaging -lvtkCommon -lvtkjpeg -lvtkexpat - 
lvtkGraphics -lvtkGenericFiltering -lvtktiff -lvtkftgl -lvtksys -arch  
ppc -Wl,-Y,1455 -mmacosx-version-min=10.4 -lz -isysroot /Developer/ 
SDKs/MacOSX10.4u.sdk
/usr/bin/ld: can't locate file for: -lvtkIO
collect2: ld returned 1 exit status
		/usr/bin/ld: can't locate file for: -lvtkIO
		collect2: ld returned 1 exit status
Build failed (1 error)

i have a libvtkIO.a in VTKBuild/lib/vtk-5.4. so i'm at a loss after  
searching the nabble forum and not finding anything really relating  
to it. could someone please offer some assistance to get it working?

regards,
juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100118/4addd2af/attachment.htm>


More information about the vtkusers mailing list