[Paraview] Error building paraview server without X server support: vtkXdmf fails

pat marion pat.marion at kitware.com
Mon Sep 27 10:57:42 EDT 2010


I think this is a bug in ParaView/Utilities/Xdmf2/vtk/CMakeLists.txt

This cmakelists compiles vtkXdmfRenderWindowInteractor which uses X11 if
USE_RENDER_WINDOW_INTERACTOR is true.  The logic does not respect the
VTK_USE_X flag.

Pat

2010/9/27 Kevin H. Hobbs <hobbsk at ohiou.edu>

>  Hi Jorge,
>
> On 09/27/2010 05:21 AM, Jorge Gerardo Peña Pastor wrote:
> > Hello everybody,
> >
> > I am trying to compile the paraView server to use inside a cluster
> > withou rendering hardware.
> > I have configured the CMakeLists to use the following options:
> >
> > PARAVIEW_BUILD_QT_GUI = OFF
> > VTK_OPENGL_HAS_OSMESA = ON
> > VTK_USE_DISPLAY = OFF
> > VTK_USE_OFFSCREEN = ON
> > VTK_USE_QT = OFF
> > VTK_USE_X = OFF
> >
> > Nevertheless, when I run "make pvserver" I get an error compiling
> vtkXdmf:
> > X11/StringDefs.h: file not found when trying to compile
> > vtkXdmfRenderWindowIteractor
> > and also other files/declarations are missing: Widget, XtPointer,
> > XEvent, XtIntervalId, XtappContext, and more...
> >
> > I think that these objects are trying to compile against the X
> > libraries, but according to my CMakeLists, they shouldn't.
> > I guess I missed flag or need to install some extra libraries, but I
> > cannot realize which one.
> > Do you know where the error comes from?
> >
> > Thak you,
> >
> >
>
> I think I had to set OPENGL_gl_LIBRARY to an empty string, that is :
>
>   "OPENGL_gl_LIBRARY:FILEPATH="
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100927/8e356981/attachment.htm>


More information about the ParaView mailing list