[vtkusers] VtkQt

Patrice Aussems p.aussems at skynet.be
Fri Jul 9 08:19:29 EDT 2004


Hi,

I'm a new Vtk and Qt User and I have a problem during installation of
VtkQt from http://carol.science.uva.nl/~dshamoni/VtkQt/ :

I update the .qmake.cache file from /VtkQt and /VtkQt/src as tell in the
INSTALLATION file, then I run qmake and make from /src/ => no problem,
but when I run from /VtkQt I got this error Message : (No Compilation
error for Simple1, 2, 3 and Cone1 example)


make[3]: Entering directory
`/home/pat/Memoire/VtkQt/examples/interfaces/cone2'
g++ -c -pipe -Wall -W -Wno-deprecated -O2 -fomit-frame-pointer -pipe
-march=i586 -mcpu=pentiumpro -D_REENTRANT  -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I.
-I/usr/include/vtk -I../../../src
-I../../../../VTK/VTK/Common/Testing/Cxx -I/usr/lib/qt3//include -o
globjwin.o globjwin.cxx
In file included from /usr/include/vtk/vtkProcessObject.h:45,
                  from /usr/include/vtk/vtkSource.h:45,
                  from /usr/include/vtk/vtkPolyDataSource.h:29,
                  from /usr/include/vtk/vtkConeSource.h:30,
                  from globjwin.cxx:39:
/usr/include/vtk/vtkAlgorithm.h:202: error: `vtkGarbageCollector' was
not declared in this scope
/usr/include/vtk/vtkAlgorithm.h:202: error: syntax error before `)'
token
In file included from /usr/include/vtk/vtkSource.h:45,
                  from /usr/include/vtk/vtkPolyDataSource.h:29,
                  from /usr/include/vtk/vtkConeSource.h:30,
                  from globjwin.cxx:39:
/usr/include/vtk/vtkProcessObject.h:140: error: `vtkGarbageCollector'
was not declared in this scope
/usr/include/vtk/vtkProcessObject.h:140: error: syntax error before `)'
token
In file included from /usr/include/vtk/vtkPolyDataSource.h:29,
                  from /usr/include/vtk/vtkConeSource.h:30,
                  from globjwin.cxx:39:
/usr/include/vtk/vtkSource.h:170: error: `vtkGarbageCollector' was not
declared in this scope
/usr/include/vtk/vtkSource.h:170: error: syntax error before `)' token
make[3]: *** [globjwin.o] Erreur 1
make[3]: Leaving directory
`/home/pat/Memoire/VtkQt/examples/interfaces/cone2'
make[2]: *** [sub-cone2] Erreur 2
make[2]: Leaving directory `/home/pat/Memoire/VtkQt/examples/interfaces'
make[1]: *** [sub-interfaces] Erreur 2
make[1]: Leaving directory `/home/pat/Memoire/VtkQt/examples'
make: *** [sub-examples] Erreur 2


Another problem : When I try to run example like Simple1 (this one
compile without any problem), I got this message :

error while loading shared libraries: libVtkQt.so.1: cannot open shared
object file: No such file or directory

Can somebody help me??

I use VtkQt version 1.5, VTK 4.2 and Qt 3.2.3 under Mandrake 10.0

Thanks

Patrice




More information about the vtkusers mailing list