# Superbuild : Paraview OpenGL UI application

**URL:** https://discourse.paraview.org/t/superbuild-paraview-opengl-ui-application/5658
**Category:** Development
**Created:** [October 27, 2020, 4:02am UTC](https://discourse.paraview.org/t/superbuild-paraview-opengl-ui-application/5658 "2020-10-27T04:02:15Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Nicholas\_Yue](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicholas_yue/32/5203_2.png) [@Nicholas\_Yue](https://discourse.paraview.org/u/Nicholas_Yue)
#### Post date: [October 27, 2020, 4:02am UTC](https://discourse.paraview.org/t/superbuild-paraview-opengl-ui-application/5658/1 "2020-10-27T04:02:15Z")

</div>

Hi,

I am trying to build Paraview (with OpenGL) on an Ubuntu 18.04 box with Nvidia card (and Nvidia drivers)

What option (or combination of options) should I enable in superbuild to build the Paraview executable with the UI front end. The various combinations I tried only build the mesa variant or the osmesa variant but not the OpenGL accelerated version.

Cheer

Cheers

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 27, 2020, 9:32am UTC](https://discourse.paraview.org/t/superbuild-paraview-opengl-ui-application/5658/2 "2020-10-27T09:32:05Z")

</div>

```
ENABLE_paraview
ENABLE_qt5

```

Why are you using the superbuild ?

---

<div class="post-metadata">

### Author: ![Nicholas\_Yue](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicholas_yue/32/5203_2.png) [@Nicholas\_Yue](https://discourse.paraview.org/u/Nicholas_Yue)
#### Post date: [October 27, 2020, 4:02pm UTC](https://discourse.paraview.org/t/superbuild-paraview-opengl-ui-application/5658/3 "2020-10-27T16:02:31Z")

</div>

Thank you Mathieu.

I am planning to do some Paraview plugin (C++) development and from what I read, the easiest way to get a Paraview SDK is via superbuild.

---

<div class="post-metadata">

### Author: ![Nicholas\_Yue](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicholas_yue/32/5203_2.png) [@Nicholas\_Yue](https://discourse.paraview.org/u/Nicholas_Yue)
#### Post date: [October 27, 2020, 4:19pm UTC](https://discourse.paraview.org/t/superbuild-paraview-opengl-ui-application/5658/4 "2020-10-27T16:19:41Z")

</div>

It appears that ENABLE\_qt5 and ENABLE\_paraviewsdk co-existence requires careful specification of Qt5.

I tried providing my local build of Qt5 but it still does not seem to work.

> – Enabling fontconfig for: qt5  
> – Enabling qt5 as requested.  
> – Enabling paraview as requested.  
> – Enabling paraviewsdk as requested.  
> – Building projects: cxx11, nlohmannjson, zlib, png, freetype, libxml2, gperf, utillinux, fontconfig, qt5, paraview, paraviewsdk  
> CMake Error at projects/unix/paraviewsdk.cmake:6 (message):  
> Please use a system qt5 or disable qt5 to enable SDK deployment!  
> Call Stack (most recent call first):  
> projects/unix/paraviewsdk.cmake:11 (paraviewsdk\_check\_system\_usage)  
> superbuild/cmake/SuperbuildMacros.cmake:979 (include)  
> superbuild/CMakeLists.txt:155 (superbuild\_process\_dependencies)
> 
> – Configuring incomplete, errors occurred!  
> See also “/home/nyue/projects/Paraview/superbuild/build/CMakeFiles/CMakeOutput.log”.  
> nyue@head0:~/projects/Paraview/superbuild/build$ which qmake  
> /home/nyue/Qt5.14.0/5.14.0/gcc\_64/bin/qmake

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 27, 2020, 4:27pm UTC](https://discourse.paraview.org/t/superbuild-paraview-opengl-ui-application/5658/5 "2020-10-27T16:27:45Z")

</div>

> I am planning to do some Paraview plugin (C++) development and from what I read, the easiest way to get a Paraview SDK is via superbuild.

It definitely is not. Where did you read that ?

The compilation guide is here : [https://gitlab.kitware.com/paraview/paraview/-/blob/master/Documentation/dev/build.md](https://gitlab.kitware.com/paraview/paraview/-/blob/master/Documentation/dev/build.md)

Regarding the SDK, it is not needed to build a plugin. A build of ParaView is enough.

The SDK in the superbuild is specific to the deployement of ParaView, not something a plugin developper should care for.

---

<div class="post-metadata">

### Author: ![Nicholas\_Yue](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicholas_yue/32/5203_2.png) [@Nicholas\_Yue](https://discourse.paraview.org/u/Nicholas_Yue)
#### Post date: [October 27, 2020, 5:10pm UTC](https://discourse.paraview.org/t/superbuild-paraview-opengl-ui-application/5658/6 "2020-10-27T17:10:15Z")

</div>

Thanks Mathieu for the heads up. I think I have mis-read the information.

From what you describe, I still need my build of Paraview (so I have access to the header files for plugin development), those header files are totally separate from the paraviewsdk purpose.

Cheers

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [October 28, 2020, 9:14am UTC](https://discourse.paraview.org/t/superbuild-paraview-opengl-ui-application/5658/7 "2020-10-28T09:14:20Z")

</div>

> I still need my build of Paraview

Yes
