# Advice on building paraview (superbuild??) for OpenFOAM runTimePostProcessing

**URL:** https://discourse.paraview.org/t/advice-on-building-paraview-superbuild-for-openfoam-runtimepostprocessing/8707
**Category:** ParaView Support
**Created:** [December 28, 2021, 5:08pm UTC](https://discourse.paraview.org/t/advice-on-building-paraview-superbuild-for-openfoam-runtimepostprocessing/8707 "2021-12-28T17:08:55Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![crohr](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@crohr](https://discourse.paraview.org/u/crohr)
#### Post date: [November 28, 2022, 7:49am UTC](https://discourse.paraview.org/t/advice-on-building-paraview-superbuild-for-openfoam-runtimepostprocessing/8707/7 "2022-11-28T07:49:31Z")

</div>

I know this was a year ago, but I ran into the same issue and solved it with the following for anyone else out there looking for an answer. Anyway, here is how I compiled ParaView with OpenFOAM’s make script. You could achieve pretty much the same thing using the superbuild and cmake. These are my notes from a year ago:

With OF2112 and PV5.10, need to manually enable ffmpeg in PV due to OF catalyst requiring it. Added these Cmake variables:

`PARAVIEW_ENABLE_FFMPEG=ON VTK_MODULE_ENABLE_VTK_IOFFMPEG=YES `

- Also to avoid some python symbol errors in catalyst:

`VTK_PYTHON_OPTIONAL_LINK=OFF`

To do with OF make script:

`./makeParaView -mesa -mpi -python3 -no-qt -DPARAVIEW_ENABLE_FFMPEG=ON -DVTK_MODULE_ENABLE_VTK_IOFFMPEG=YES -DVTK_PYTHON_OPTIONAL_LINK=OFF`

This was based on the following thread:

> [@undefined symbol: PyExc\_ValueError](https://discourse.paraview.org/t/undefined-symbol-pyexc-valueerror/5494/10):
>
> Had similar issue, VTK\_PYTHON\_OPTIONAL\_LINK=OFF flag solved the problem. Thank you.

I also had to add quotes to the variable in line 164 of the following file:  
./ThirdParty-v2112/platforms/linuxARM64Gcc/ParaView-5.10.0/lib/cmake/paraview-5.10/paraview-config.cmake

Separately, I don’t think 5.11.0 is compatible with OpenFOAM’s catalyst plugin.

---

_[View the full topic](https://discourse.paraview.org/t/advice-on-building-paraview-superbuild-for-openfoam-runtimepostprocessing/8707)._
