[vtkusers] Re: transparency-problem

John Norris jnorris at mcs.anl.gov
Thu Oct 31 11:03:29 EST 2002


You're not linking in libvtkHybrid.so .  That's where vtkDepthSortPolyData
lives.

Once upon a time, Stefan Ulbrich wrote:
> hi,
> 
> i get the following linker error, although i use all so-files in my 
> vtk/bin directory. until now there weren't any errors while linking. and 
> it causes problems when i try to use a function of vtkDepthSortPolyData.
> could perhaps anyone tell me what the prblem is?
> 
> thanx
> stefan
> 
> 
> gcc -c -I/home/stef/develop/VTK/Rendering 
> -I/home/stef/develop/VTK/Common -I/home/stef/develop/VTK/Imaging 
> -I/home/stef/develop/VTK/IO -I/home/stef/develop/VTK/Filtering 
> -I/home/stef/develop/VTK/Hybrid -I/home/stef/develop/VTK/Graphics 
> -I/home/stef/develop/VTK/ main.cpp
> gcc -o main -L/home/stef/develop/VTK/bin/ 
> /home/stef/develop/VTK/bin/libvtkCommon.so 
> /home/stef/develop/VTK/bin/libvtkFiltering.so 
> /home/stef/develop/VTK/bin/libvtkGraphics.so 
> /home/stef/develop/VTK/bin/libvtkIO.so 
> /home/stef/develop/VTK/bin/libvtkImaging.so 
> /home/stef/develop/VTK/bin/libvtkRendering.so 
> /home/stef/develop/VTK/bin/libvtkjpeg.so 
> /home/stef/develop/VTK/bin/libvtkpng.so 
> /home/stef/develop/VTK/bin/libvtkzlib.so main.o
> main.o(.text+0xc4c): In function `main':
> : undefined reference to `vtkDepthSortPolyData::New(void)'
> collect2: ld returned 1 exit status
> make: *** [LINK] Error 1
> 
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/vtkusers
> 

-- 
John Norris
Research Programmer
Center for Simulation of Advanced Rockets
http://www.uiuc.edu/ph/www/jnorris



More information about the vtkusers mailing list