[vtkusers] vtk and Qt: linking error!!
John Drescher
drescherjm at gmail.com
Fri Aug 12 09:11:25 EDT 2011
On Fri, Aug 12, 2011 at 12:48 AM, <lindeval at dmat.ufrr.br> wrote:
> Hello everybody! I have a problem in compiling my software in windows platform, which uses Qt and VTK. I get the following error messages:
>
> undefined reference to `_imp___ZN21vtkRendererCollection16GetFirstRendererEv '
> undefined reference to `_imp___ZN11vtkRenderer11RemoveActorEP7vtkProp '
> undefined reference to `_imp___ZN9vtkMapper14SetLookupTableEP18vtkScalarsToColors'
> undefined reference to `_imp___ZN11vtkRenderer8AddActorEP7vtkProp '
> .
> .
>
> It is a linking problem. Has anyone had this problem?
>
> My Project file is as below:
>
>
> TEMPLATE = app
> TARGET =
>
> IncludePath + = "C:\Program Files\VTK\include\vtk-5.6"
>
> LIBS + =-L"C:\Program Files\VTK\bin" -L"C:\Program Files\VTK\lib\vtk-5.6" -L"C:\VtkBin-4.6\bin" \
> -lvtkDICOMParser lvtkGeovis -lvtkIO lvtksqlite -lvtkzlib -lvtkGraphics -lvtkjpeg \
> -lvtksys -lvtkexpat -lvtklibxml -lvtktiff -lvtkFiltering -lvtkHybrid -lvtkmetaio -lvtkverdict -lQVTK -lvtkNetCDF \
> -lvtkViews -lvtkalglib -lvtkfreetype -lvtkImaging -lvtkpng -lvtkftgl -lvtkCharts -lvtkproj4 -lvtkVolumeRendering \
> -lvtkGenericFiltering -lvtkQtChart -lvtkCommon -lvtkDICOMParser -lQVTKWidgetPlugin
>
It looks like you are missing vtkRendering
John
More information about the vtkusers
mailing list