[vtkusers] vtk and Qt: linking error!!
lindeval at dmat.ufrr.br
lindeval at dmat.ufrr.br
Fri Aug 12 00:48:58 EDT 2011
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
# Input
Fantomas.h HEADERS + = \
fantwindow.h \
formAmbiente.h \
formegs.h \
formEntrada.h \
formfatia.h \
formorgao.h \
formsalvar.h \
formtumor.h \
progressbar.h \
raddigital.h \
simulaacidente.h \
formmcnpwindow.h
FORMS + = formAmbiente.ui \
formegs.ui \
formEntrada.ui \
formfatia.ui \
formorgao.ui \
formraddigital.ui \
formsalvar.ui \
formtumor.ui \
simulaacidente.ui \
formmcnpwindow.ui
Fantomas.cxx SOURCES + = \
fantwindow.cxx \
formAmbiente.cxx \
formegs.cxx \
formEntrada.cxx \
formfatia.cxx \
formorgao.cxx \
formsalvar.cxx \
formtumor.cxx \
main.cxx \
progressbar.cpp \
raddigital.cxx \
simulaacidente.cxx \
vapprogressdialog.cxx \
formmcnpwindow.cpp
RESOURCES + = \
ResourceFile.qrc
More information about the vtkusers
mailing list