[Paraview] Bug 0006714: pvbatch requires X server

pat marion pat.marion at kitware.com
Fri Apr 4 14:03:13 EDT 2008


It's been a couple months since I worked through this issue, but if I
remember correctly it is in VTK/Rendering/CMakeLists.txt:

    IF(VTK_USE_X)
      CHECK_FUNCTION_EXISTS(glXGetProcAddressARB
VTK_USE_GLX_GET_PROC_ADDRESS_ARB)

So, if VTK_USE_X is true (on Linux it is forced true, perhaps this should be
changed?) then it checks for glXGetProcAddressARB.  So it doesn't even
matter if X11_*_LIB cmake variables are set or not.  CHECK_FUNCTION_EXISTS
finds X11 and compiles it into the extension manager.  If you clear cmake's
references to XLibs, you'll get linker errors.

Pat

On Fri, Apr 4, 2008 at 1:49 PM, Kent Eschenberg <eschenbe at psc.edu> wrote:

> Hi Pat,
>
> Sorry I posted my previous note to the list; I didn't look at the email
> addresses carefully.
>
> So on my Linux cluster build, if I delete all references to X11 files in
> cmake, would cmake still proceed? Would that help?
>
> Kent
>
>
> pat marion wrote:
>
> > Didn't want to imply that compiling on XT3 requires hacked cmake files.
> >  The XT3 build works from CVS head without modifications.
> >
> > My issue was when X11 libs were found by cmake, but I wanted to compile
> > without them.  This wasn't a problem on XT3 because X11 isn't found at all.
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080404/fd42e73b/attachment.htm>


More information about the ParaView mailing list