[vtkusers] Fail to generate libQVTKWidgetPlugin.so

Weiguang Guan guanw at rhpcs.mcmaster.ca
Tue Feb 7 12:12:49 EST 2006


Hi,

I try to build VTK 5.0 (download from vtk.org). It has problem when it's 
about to generate libQVTKWidgetPlugin.so (see error message below). I 
think the error is related to -fPIC of c++ compiler. Does anyone have a 
clue?

Weiguang

Linking CXX shared library ../../bin/libQVTKWidgetPlugin.so
/usr/bin/ld: 
/home/guanw/visualization/software/build/libraries/thirdParty/VTK/bin/libvtkRendering.a(vtkGraphicsFactory.o): 
@gprel relocation against dynamic symbol 
vtkGraphicsFactory::OffScreenOnlyMode
/usr/bin/ld: 
/home/guanw/visualization/software/build/libraries/thirdParty/VTK/bin/libvtkRendering.a(vtkGraphicsFactory.o): 
@gprel relocation against dynamic symbol 
vtkGraphicsFactory::UseMesaClasses
/usr/bin/ld: 
/home/guanw/visualization/software/build/libraries/thirdParty/VTK/bin/libvtkRendering.a(vtkGraphicsFactory.o): 
@gprel relocation against dynamic symbol 
vtkGraphicsFactory::UseMesaClasses
/usr/bin/ld: 
/home/guanw/visualization/software/build/libraries/thirdParty/VTK/bin/libvtkRendering.a(vtkGraphicsFactory.o): 
@gprel relocation against dynamic symbol 
vtkGraphicsFactory::OffScreenOnlyMode
/usr/bin/ld: 
/home/guanw/visualization/software/build/libraries/thirdParty/VTK/bin/libvtkRendering.a(vtkGraphicsFactory.o): 
@gprel relocation against dynamic symbol 
vtkGraphicsFactory::OffScreenOnlyMode
collect2: ld returned 1 exit status


-- 
========================================================
Weiguang Guan, Research Engineer
RHPCS, McMaster University
========================================================



More information about the vtkusers mailing list