# error when compiling ParaView

**URL:** https://discourse.paraview.org/t/error-when-compiling-paraview/3845
**Category:** ParaView Support
**Created:** [March 18, 2020, 9:06pm UTC](https://discourse.paraview.org/t/error-when-compiling-paraview/3845 "2020-03-18T21:06:50Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Plassf](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/p/9de053/32.png) [@Plassf](https://discourse.paraview.org/u/Plassf)
#### Post date: [March 18, 2020, 9:06pm UTC](https://discourse.paraview.org/t/error-when-compiling-paraview/3845/1 "2020-03-18T21:06:50Z")

</div>

Hello,

I installed OpenFoam v1912. When I try to compile ParaView with theses instructions:

cd $WM\_THIRD\_PARTY\_DIR  
./makeParaView

it’s returning these error messages:

./makeParaView: 64: local: -DWM\_DP: bad variable name

/makeParaView: 64: -DOPENFOAM: bad variable name

Could you help me solve this problem, please?

---

<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: [March 19, 2020, 2:04am UTC](https://discourse.paraview.org/t/error-when-compiling-paraview/3845/2 "2020-03-19T02:04:06Z")

</div>

You are on the ParaView discourse, not OpenFOAM.

To compile ParaView our way, see 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)

For OpenFOAM questions go there :

> **[Issues · Development / OpenFOAM-plus](https://develop.openfoam.com/Development/OpenFOAM-plus/issues)**
>
> See \[wiki pages\](https://develop.openfoam.com/Development/OpenFOAM-plus/wikis/home)

---

<div class="post-metadata">

### Author: ![Plassf](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/p/9de053/32.png) [@Plassf](https://discourse.paraview.org/u/Plassf)
#### Post date: [March 19, 2020, 9:05am UTC](https://discourse.paraview.org/t/error-when-compiling-paraview/3845/3 "2020-03-19T09:05:21Z")

</div>

Ok thank you!

I’ll try.

Sindze Florian
