[vtkusers] link order

Murat Ahat murat.ahat at gmail.com
Fri Sep 23 11:44:32 EDT 2005


Hi,
  i got the same prob a while ago, when i wanted to use vtk with
QVTKwidget. and finally with the help of this forum, i solved it. I
don't know if this can help, anyway here is my .qmake.cache file:

INCLUDEPATH	+= /usr/local/include/vtk
LIBS		+= -L/usr/local/lib/vtk \
		-lQVTK \
		-lvtkHybrid \
		-lvtkVolumeRendering \
		-lvtkRendering \
		-lvtkIO \
		-lvtkGenericFiltering \
		-lvtkGraphics \
		-lvtkImaging \
		-lvtkFiltering \
		-lvtkCommon \
		-lvtkftgl \
		-lvtkfreetype \
		-lvtkDICOMParser \
		-lvtkexpat \
		-lvtktiff \
		-lvtkpng \
		-lvtkjpeg \
		-lvtkzlib \
		-lvtksys
LIBS		+= -L/usr/lib \
		-lGL
LIBS		+= -lOSMesa

ok, good luck.
 Murat

On 9/23/05, Jens Frederich <jfrederich at gmail.com> wrote:
> Hi,
>
> I want use vtk(static libs) with qmake.
> How is the linking order?
> I become every time errors that object code not referenced.
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list