# Compilation of Paraview for having all the readers

**URL:** https://discourse.paraview.org/t/compilation-of-paraview-for-having-all-the-readers/10424
**Category:** ParaView Support
**Created:** [September 28, 2022, 9:20am UTC](https://discourse.paraview.org/t/compilation-of-paraview-for-having-all-the-readers/10424 "2022-09-28T09:20:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Captain\_Convergence](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/e19b73/32.png) [@Captain\_Convergence](https://discourse.paraview.org/u/Captain_Convergence)
#### Post date: [September 28, 2022, 9:20am UTC](https://discourse.paraview.org/t/compilation-of-paraview-for-having-all-the-readers/10424/1 "2022-09-28T09:20:42Z")

</div>

Dear Support,

I am compiling Paraview and I need to add some readers to open my simulation files. Normally I have these readers available with the non-compiled version of Paraview so I am trying to get them in the compiled version. I am using the following compilation configuration:

# Compilation configuration

```auto
cmake \
-GNinja \
-DPARAVIEW_USE_PYTHON=ON \
-DPARAVIEW_USE_MPI=ON \
-DVTK_SMP_IMPLEMENTATION_TYPE=TBB \
-BUILD_SHARED_LIBS=ON \
PARAVIEW_USE_VISITBRIDGE \
Boost_INCLUDE_DIR \
PARAVIEW_ENABLE_VISIT_BRIDGE \
-DCMAKE_BUILD_TYPE=Release ./paraview

```

# Compilation command

```auto

ninja

```

However I am having the following output when compiling:

 ![image](https://discourse.paraview.org/uploads/default/original/2X/0/0105c0804ae5dce81db94daf441c359bdf098abb.png)

Which options should be added in order to have the readers (specially VisIt readers)?

Thank you in advance!

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [September 28, 2022, 3:01pm UTC](https://discourse.paraview.org/t/compilation-of-paraview-for-having-all-the-readers/10424/2 "2022-09-28T15:01:24Z")

</div>

The option is not well formated. This should be  
`-DPARAVIEW_ENABLE_VISITBRIDGE=ON`

To enable more readers, you should know wich one you want 🙂 Usually, they are disable because they depends on an external dependency.

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [September 28, 2022, 3:02pm UTC](https://discourse.paraview.org/t/compilation-of-paraview-for-having-all-the-readers/10424/3 "2022-09-28T15:02:25Z")

</div>

> [@Captain\_Convergence](#):
>
> ```auto
> Boost_INCLUDE_DIR \
> 
> ```

Also, this is not a valid syntax for a cmake call. Mostly, cmake arguments are on the format  
`-D<ARG_NAME>=<VALUE>`

---

<div class="post-metadata">

### Author: ![Captain\_Convergence](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/e19b73/32.png) [@Captain\_Convergence](https://discourse.paraview.org/u/Captain_Convergence)
#### Post date: [September 28, 2022, 4:26pm UTC](https://discourse.paraview.org/t/compilation-of-paraview-for-having-all-the-readers/10424/4 "2022-09-28T16:26:12Z")

</div>

Great! It worked! Thanks! I leave here the compilation config if someone needs it:

```auto
cmake \
-GNinja \
-DPARAVIEW_USE_PYTHON=ON \
-DPARAVIEW_USE_MPI=ON \
-DVTK_SMP_IMPLEMENTATION_TYPE=TBB \
-DPARAVIEW_ENABLE_VISITBRIDGE=ON \
-DCMAKE_BUILD_TYPE=Release ./paraview

```

Now I have to compile Paraview with OSMesa which it seems quite problematic
