Dear Ben,
I had the same issue today (or at least, a very similar looking one).
I’m hopeful that my current compilation (with -DVTK_USE_X=OFF) will complete, but I was seemingly mislead by documentation here: https://kitware.github.io/paraview-docs/v5.8.0/cxx/Offscreen.html
That page explicitly claims that it’s now possible to use X and OSMESA flags at the same time in the build - do you know if this is a) just not true, b) I’ve misunderstood the entire thing, or c) true only for some versions more recent than 5.8.0 (i.e. dev)? (Perhaps I should include the implicit d) Some other option I can’t think of…)
If I want both, is there a recommended way to do this? (i.e. via two separate compilations, what are the best collection of flags relevant to either case to provide an X tunnelling compatible setup and a headless server that I connect to via a desktop client?)