[vtkusers] Fwd: Linking error in libVTKImaging.a

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Wed Sep 5 02:43:27 EDT 2001


hi,

>>>>> "PA" == prateek arora <prateek_arora at indya.com> writes:

    PA> LIBS = -L/var/tmp/vtk3.2/common \    -L/var/tmp/vtk3.2/imaging
    PA> \    -L/var/tmp/vtk3.2/graphics \  
    PA>  -L/var/tmp/vtk3.2/patented \    -L/var/tmp/vtk3.2/contrib \  
    PA>  -lVTKImaging \    -lVTKPatented \    -lVTKGraphics \  
    PA>  -lVTKContrib \    -lVTKCommon \    -lpthread \  
    PA>  -L/usr/freeware/lib -ltk -ltcl -lm -lX11 \    $(GFXLIBS)

    PA> and the error I am getting is of vtk linking

I think you need to add a -lGL and a -lXt.  libX11 should have the
XQueryTextExtents symbol.  Maybe you need to use a -L pointing to
where libX11 and libXT reside.

prabhu




More information about the vtkusers mailing list