I think this is a bug in ParaView/Utilities/Xdmf2/vtk/CMakeLists.txt<br><br>This cmakelists compiles vtkXdmfRenderWindowInteractor which uses X11 if USE_RENDER_WINDOW_INTERACTOR is true.  The logic does not respect the VTK_USE_X flag.<br>
<br>Pat<br><br><div class="gmail_quote">2010/9/27 Kevin H. Hobbs <span dir="ltr">&lt;<a href="mailto:hobbsk@ohiou.edu">hobbsk@ohiou.edu</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
 Hi Jorge,<br>
<div class="im"><br>
On 09/27/2010 05:21 AM, Jorge Gerardo Peña Pastor wrote:<br>
&gt; Hello everybody,<br>
&gt;<br>
&gt; I am trying to compile the paraView server to use inside a cluster<br>
&gt; withou rendering hardware.<br>
&gt; I have configured the CMakeLists to use the following options:<br>
&gt;<br>
&gt; PARAVIEW_BUILD_QT_GUI = OFF<br>
&gt; VTK_OPENGL_HAS_OSMESA = ON<br>
&gt; VTK_USE_DISPLAY = OFF<br>
&gt; VTK_USE_OFFSCREEN = ON<br>
&gt; VTK_USE_QT = OFF<br>
&gt; VTK_USE_X = OFF<br>
&gt;<br>
&gt; Nevertheless, when I run &quot;make pvserver&quot; I get an error compiling vtkXdmf:<br>
&gt; X11/StringDefs.h: file not found when trying to compile<br>
&gt; vtkXdmfRenderWindowIteractor<br>
&gt; and also other files/declarations are missing: Widget, XtPointer,<br>
&gt; XEvent, XtIntervalId, XtappContext, and more...<br>
&gt;<br>
&gt; I think that these objects are trying to compile against the X<br>
&gt; libraries, but according to my CMakeLists, they shouldn&#39;t.<br>
&gt; I guess I missed flag or need to install some extra libraries, but I<br>
&gt; cannot realize which one.<br>
&gt; Do you know where the error comes from?<br>
&gt;<br>
&gt; Thak you,<br>
&gt;<br>
&gt;<br>
<br>
</div>I think I had to set OPENGL_gl_LIBRARY to an empty string, that is :<br>
<br>
   &quot;OPENGL_gl_LIBRARY:FILEPATH=&quot;<br>
<br>
<br>
<br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>