# enabling Gmsh plugin in PV 5.6-RC1

**URL:** https://discourse.paraview.org/t/enabling-gmsh-plugin-in-pv-5-6-rc1/578
**Category:** ParaView Support
**Created:** [September 14, 2018, 1:17pm UTC](https://discourse.paraview.org/t/enabling-gmsh-plugin-in-pv-5-6-rc1/578 "2018-09-14T13:17:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jfavre](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/b5ac83/32.png) [@jfavre](https://discourse.paraview.org/u/jfavre)
#### Post date: [September 14, 2018, 1:17pm UTC](https://discourse.paraview.org/t/enabling-gmsh-plugin-in-pv-5-6-rc1/578/1 "2018-09-14T13:17:30Z")

</div>

I am trying to enable the Gmsh reader plugin. Using the latest 4.0.1 compiled from source, ParaView complains

Could NOT find Gmsh: Found unsuitable version “”, but required is at least  
“3.0.7” (found /mnt/hdd/apps/gmsh-4.0.1/lib/libgmsh.so)

I thought 4.0.1 was at least greater than 3.0.7 but that does not work. First, it is telling

Could not find GmshVersion.h in /mnt/hdd/apps/gmsh-4.0.1/include. Check  
path or reconfigure Gmsh with -DENABLE\_INTERNAL\_DEVELOPER\_API=ON

that ENABLE\_INTERNAL\_DEVELOPER\_API does not seem to exist in 4.0.1

However, going back to [http://gmsh.info/src/](http://gmsh.info/src/), I only find the following files: gmsh-3.0.[0123456]-source.tgz but no 3.0.7 version.

Can someone share tips about enabling the reader plugin? I am under Ubuntu 18.04.1 and the latest available as a package is 3.0.6 and ParaView does not like it either since 3.0.7 \> 3.0.6

TIA for any tip  
Jean/CSCS

---

<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: [September 21, 2018, 12:56pm UTC](https://discourse.paraview.org/t/enabling-gmsh-plugin-in-pv-5-6-rc1/578/2 "2018-09-21T12:56:18Z")

</div>

Hi Jean,

A 3.0.7 version was suposed to come out and we were targetting it, sadly it was scrapped and version 4 came out, breaking retro compatibility.

In order to be able current paraview master to build with any gmsh version \>= 4.0.0 you need to do the following.

- Download gmsh 4.0.1 sources
- configure it with -DENABLE\_BUILD\_LIB=ON -DENABLE\_BUILD\_SHARED=ON -DENABLE\_PRIVATE\_API=ON
- build and install gmsh
- Apply this [0001-Fix-GmshPlugin-for-Gmsh-4.patch](https://discourse.paraview.org/uploads/default/original/1X/476ce1f3e5f77bc693b34cc62ed2124754d02bd7.patch) (1.8 KB)  
to your paraview source
- Configure paraview with gmsh -DGmsh\_INCLUDE\_DIR=path/to/gmsh/install/include/gmsh -DGmsh\_LIBRARY=path/to/gmsh/install/lib64/libgmsh.so
- And compile paraview

The patch will be merged into paraview soon.

---

<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 12, 2018, 3:43pm UTC](https://discourse.paraview.org/t/enabling-gmsh-plugin-in-pv-5-6-rc1/578/3 "2018-10-12T15:43:15Z")

</div>

@jfavre : the last paraview master and it’s gmsh plugin now support Gmsh 4.0 correctly.  
It does not support Gmsh 3.X
