# Error in making paraview for OpenFOAM.

**URL:** https://discourse.paraview.org/t/error-in-making-paraview-for-openfoam/6142
**Category:** ParaView Support
**Created:** [December 29, 2020, 1:58pm UTC](https://discourse.paraview.org/t/error-in-making-paraview-for-openfoam/6142 "2020-12-29T13:58:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jinshah-bs](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jinshah-bs/32/5627_2.png) [@jinshah-bs](https://discourse.paraview.org/u/jinshah-bs)
#### Post date: [December 29, 2020, 1:58pm UTC](https://discourse.paraview.org/t/error-in-making-paraview-for-openfoam/6142/1 "2020-12-29T13:58:01Z")

</div>

With -python option the paraview is compiling fine but showing GREW error in opening the window. Also it seems the graphics is not proper.

With -python flag It end up in an error as i shown below. I tried many ways but nothing seems to work.Please help me.  
I am using Fedora 32 operating system.

[66%] Building CXX object Wrapping/ClientServer/CMakeFiles/vtkPVServerManagerRenderingCS.dir/vtkSMPythonViewProxyClientServer.cxx.o  
[66%] Building CXX object Wrapping/ClientServer/CMakeFiles/vtkPVServerManagerRenderingCS.dir/vtkSMParaViewPipelineControllerWithRenderingClientServer.cxx.o  
[66%] Building CXX object Wrapping/ClientServer/CMakeFiles/vtkPVServerManagerRenderingCS.dir/vtkPVServerManagerRenderingObjectFactoryClientServer.cxx.o  
[66%] Building CXX object Wrapping/ClientServer/CMakeFiles/vtkPVServerManagerRenderingCS.dir/vtkPVServerManagerRenderingCSInit.cxx.o  
[66%] Linking CXX static library …/…/lib/libvtkPVServerManagerRenderingCS-pv5.6.a  
[66%] Built target vtkPVServerManagerRenderingCS  
make: \*\*\* [Makefile:171: all] Error 2

---

<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: [December 29, 2020, 2:17pm UTC](https://discourse.paraview.org/t/error-in-making-paraview-for-openfoam/6142/2 "2020-12-29T14:17:11Z")

</div>

I assume you mean “GLEW” and now “GREW” here.

The error you posted is not the actual error. In a parallel build, the “make” error can be far after the actual error. Please run plain `make` (without parallelism) to get the (first) actual error that occurs.
