<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Before reading your mail I solved that problem installing on my Ubuntu the following packages:<br><br>-libgl1-mesa-glx<br>-libgl1-mesa-dev<br>-libgl1-mesa-dri-dbg<br>-libgl1-mesa-dri<br><br>and I can compile my VTK. It is ok?<br>But now I have an other problem that I want to discuss with you....<br><br>When I do:<br><br>make -j4<br><br>I have this error<br><br>[ 68%] Building CXX object Rendering/CMakeFiles/vtkRendering.dir/vtkHierarchicalPolyDataMapper.o<br>In file included from /usr/local/vtk/VTK/Rendering/vtkGraphicsFactory.cxx:65:<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:45: error: variable or field ‘vtkXRenderWindowInteractorCallback’ declared void<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:45: error: ‘Widget’ was not declared in this scope<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:45: error: ‘XtPointer’ was not declared in this scope<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:45: error: ‘XEvent’ was not declared in this scope<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:45: error: expected primary-expression before ‘,’ token<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:45: error: ‘Boolean’ was not declared in this scope<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:45: error: expected primary-expression before ‘)’ token<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:46: error: variable or field ‘vtkXRenderWindowInteractorTimer’ declared void<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:46: error: ‘XtPointer’ was not declared in this scope<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:46: error: ‘XtIntervalId’ was not declared in this scope<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:46: error: expected primary-expression before ‘)’ token<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:78: error: ‘XtAppContext’ has not been declared<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:79: error: ‘XtAppContext’ does not name a type<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:118: error: ‘Widget’ has not been declared<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:119: error: ‘Widget’ does not name a type<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:149: error: ‘Widget’ has not been declared<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:150: error: ‘Widget’ does not name a type<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:158: error: ‘Widget’ has not been declared<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:158: error: ‘XtPointer’ has not been declared<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:159: error: ‘XEvent’ has not been declared<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:159: error: ‘Boolean’ has not been declared<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:160: error: ‘XtPointer’ has not been declared<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:160: error: ‘XtIntervalId’ has not been declared<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:167: error: ‘XtAppContext’ does not name a type<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:170: error: ISO C++ forbids declaration of ‘Display’ with no type<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:170: error: expected ‘;’ before ‘*’ token<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:171: error: ‘Window’ does not name a type<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:172: error: ‘Atom’ does not name a type<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:173: error: ‘Widget’ does not name a type<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:177: error: ‘Widget’ does not name a type<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:188: error: ‘XtIntervalId’ does not name a type<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:190: error: ‘XtPointer’ has not been declared<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:190: error: ‘XtIntervalId’ has not been declared<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:191: error: ‘Widget’ has not been declared<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:191: error: ‘XtPointer’ has not been declared<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:191: error: ‘XEvent’ has not been declared<br>/usr/local/vtk/VTK/Rendering/vtkXRenderWindowInteractor.h:191: error: ‘Boolean’ has not been declared<br>[ 68%] Building CXX object Rendering/CMakeFiles/vtkRendering.dir/vtkImageActor.o<br>make[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/vtkGraphicsFactory.o] Errore 1<br>make[2]: *** In attesa di lavori non terminati...<br>make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Errore 2<br>make: *** [all] Errore 2<br><br>How can I solve it?<br><br>Regards <br>Daniela<br><br>                                            <br /><hr />Che w_b sarebbe senza la "e"? <a href='http://events.it.msn.com/internet-explorer-8' target='_new'> Scarica Internet Explorer 8</a></body>
</html>