[vtkusers] Problem with VTK installation: CMake configuration
Daniela Sacchetto
danysunflower at hotmail.it
Mon May 31 15:24:32 EDT 2010
Before reading your mail I solved that problem installing on my Ubuntu the following packages:
-libgl1-mesa-glx
-libgl1-mesa-dev
-libgl1-mesa-dri-dbg
-libgl1-mesa-dri
and I can compile my VTK. It is ok?
But now I have an other problem that I want to discuss with you....
When I do:
make -j4
I have this error
[ 68%] Building CXX object Rendering/CMakeFiles/vtkRendering.dir/vtkHierarchicalPolyDataMapper.o
In file included from /usr/local/vtk/VTK/Rendering/vtkGraphicsFactory.cxx:65:
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:45: error: variable or field ‘vtkXRenderWindowInteractorCallback’ declared void
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:45: error: ‘Widget’ was not declared in this scope
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:45: error: ‘XtPointer’ was not declared in this scope
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:45: error: ‘XEvent’ was not declared in this scope
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:45: error: expected primary-expression before ‘,’ token
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:45: error: ‘Boolean’ was not declared in this scope
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:45: error: expected primary-expression before ‘)’ token
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:46: error: variable or field ‘vtkXRenderWindowInteractorTimer’ declared void
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:46: error: ‘XtPointer’ was not declared in this scope
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:46: error: ‘XtIntervalId’ was not declared in this scope
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:46: error: expected primary-expression before ‘)’ token
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:78: error: ‘XtAppContext’ has not been declared
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:79: error: ‘XtAppContext’ does not name a type
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:118: error: ‘Widget’ has not been declared
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:119: error: ‘Widget’ does not name a type
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:149: error: ‘Widget’ has not been declared
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:150: error: ‘Widget’ does not name a type
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:158: error: ‘Widget’ has not been declared
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:158: error: ‘XtPointer’ has not been declared
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:159: error: ‘XEvent’ has not been declared
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:159: error: ‘Boolean’ has not been declared
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:160: error: ‘XtPointer’ has not been declared
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:160: error: ‘XtIntervalId’ has not been declared
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:167: error: ‘XtAppContext’ does not name a type
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:170: error: ISO C++ forbids declaration of ‘Display’ with no type
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:170: error: expected ‘;’ before ‘*’ token
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:171: error: ‘Window’ does not name a type
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:172: error: ‘Atom’ does not name a type
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:173: error: ‘Widget’ does not name a type
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:177: error: ‘Widget’ does not name a type
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:188: error: ‘XtIntervalId’ does not name a type
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:190: error: ‘XtPointer’ has not been declared
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:190: error: ‘XtIntervalId’ has not been declared
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:191: error: ‘Widget’ has not been declared
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:191: error: ‘XtPointer’ has not been declared
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:191: error: ‘XEvent’ has not been declared
/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:191: error: ‘Boolean’ has not been declared
[ 68%] Building CXX object Rendering/CMakeFiles/vtkRendering.dir/vtkImageActor.o
make[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/vtkGraphicsFactory.o] Errore 1
make[2]: *** In attesa di lavori non terminati...
make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Errore 2
make: *** [all] Errore 2
How can I solve it?
Regards
Daniela
_________________________________________________________________
nome.cognome @... Verifica la disponibilità sui NUOVI domini
https://signup.live.com/signup.aspx?mkt=it-it&rollrs=12&lic=1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100531/b3a4d4ca/attachment.htm>
More information about the vtkusers
mailing list