# OSMesa linking problems compiling ParaView on openSUSE Leap 15.1

**URL:** https://discourse.paraview.org/t/osmesa-linking-problems-compiling-paraview-on-opensuse-leap-15-1/4124
**Category:** ParaView Support
**Tags:** opengl, vtk
**Created:** [April 20, 2020, 2:26pm UTC](https://discourse.paraview.org/t/osmesa-linking-problems-compiling-paraview-on-opensuse-leap-15-1/4124 "2020-04-20T14:26:11Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![cbutcher](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cbutcher/32/2013_2.png) [@cbutcher](https://discourse.paraview.org/u/cbutcher)
#### Post date: [July 14, 2020, 5:08pm UTC](https://discourse.paraview.org/t/osmesa-linking-problems-compiling-paraview-on-opensuse-leap-15-1/4124/6 "2020-07-14T17:08:06Z")

</div>

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](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?)

---

_[View the full topic](https://discourse.paraview.org/t/osmesa-linking-problems-compiling-paraview-on-opensuse-leap-15-1/4124)._
