# Building GmshIO or GmshReader with gmsh 4.8.xx

**URL:** https://discourse.paraview.org/t/building-gmshio-or-gmshreader-with-gmsh-4-8-xx/7130
**Category:** ParaView Support
**Created:** [May 3, 2021, 1:00pm UTC](https://discourse.paraview.org/t/building-gmshio-or-gmshreader-with-gmsh-4-8-xx/7130 "2021-05-03T13:00:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Trophime](https://discourse.paraview.org/user_avatar/discourse.paraview.org/trophime/32/966_2.png) [@Trophime](https://discourse.paraview.org/u/Trophime)
#### Post date: [May 3, 2021, 1:00pm UTC](https://discourse.paraview.org/t/building-gmshio-or-gmshreader-with-gmsh-4-8-xx/7130/1 "2021-05-03T13:00:15Z")

</div>

I’m trying to rebuild Gmsh plugin for latest gmsh 4.8.2.  
The are some headers in Gmsh API that requires Eigen headers.  
I haven’t found a proper way to modify the CMakeLists.txt in GmshIO directory.

Could you please give me some hints how a add target\_include\_directories and eventually target\_include\_libraires in plugin CMakeLists.txt?

Best  
C

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [May 3, 2021, 6:14pm UTC](https://discourse.paraview.org/t/building-gmshio-or-gmshreader-with-gmsh-4-8-xx/7130/2 "2021-05-03T18:14:48Z")

</div>

Is this the `Plugins/GmshIO` plugin in the ParaView source? If so, we should enhance it to find Eigen as well and include it in its usage requirements.

---

<div class="post-metadata">

### Author: ![Trophime](https://discourse.paraview.org/user_avatar/discourse.paraview.org/trophime/32/966_2.png) [@Trophime](https://discourse.paraview.org/u/Trophime)
#### Post date: [May 3, 2021, 7:01pm UTC](https://discourse.paraview.org/t/building-gmshio-or-gmshreader-with-gmsh-4-8-xx/7130/3 "2021-05-03T19:01:41Z")

</div>

Initialy I’ve tried with ParaView 5.9.0 and GmshReader plugin  
Then I’ve noticed that on gitlab GmshReader has been replaced by GmshIO…  
I haven’t tried but my guess is that I will run into the same issue with GmshIO and eigen…
