[vtkusers] linking static parallel lib

Berk Geveci berk.geveci at kitware.com
Thu Jul 10 11:47:08 EDT 2003


Did you make sure that 
1. you link against vtkIO
2. you place -lvtkParallel before -lvtkIO on the link line ?

-Berk

On Thu, 2003-07-10 at 11:25, Christopher M. Navarro wrote:
> 
> I built a recent nightly build with shared_libs off and I'm getting the 
> following errors when trying to build with libvtkParallel.a
> 
> (here are just a few)
> 
> /usr/local/VTK/lib/libvtkParallel.a(vtkCommunicator.o): In function 
> `vtkCommunicator::WriteImageData(vtkImageData*)':
> vtkCommunicator.o(.text+0x1c20): undefined reference to 
> `vtkStructuredPointsWriter::New()'
> vtkCommunicator.o(.text+0x1c62): undefined reference to 
> `vtkStructuredPointsWriter::SetInput(vtkImageData*)'
> 
> Any ideas as to what is wrong?  If I remove the inclusion of this library 
> and any vtk variables that need it, it compiles and runs fine.  Thanks for 
> any help!
> 
> -chris
> 
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers






More information about the vtkusers mailing list