Greetings all,<br><br>I compiled VTK 5.6 with QT support in Debian 64bit.<br>But when I build my project ,during linking, I get the following error.<br><br>[ 98%] Building CXX object src/dlplugins/vtkviewer/CMakeFiles/RzDLVTKView.dir/moc_RzPluginVTKViewerFactory.cxx.o<br>
Linking CXX shared library ../../../dist/plugins/libRzDLVTKView.so<br>/usr/bin/ld: /usr/local/lib/vtk-5.6/libQVTK.a(QVTKWidget.cxx.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC<br>
/usr/local/lib/vtk-5.6/libQVTK.a: could not read symbols: Bad value<br>collect2: ld returned 1 exit status<br><br>Any tips ?<br>thanks in advance,<br>umanga<br>