# vtkexodusII issue during compilation Paraview-5.6.3

**URL:** https://discourse.paraview.org/t/vtkexodusii-issue-during-compilation-paraview-5-6-3/6237
**Category:** ParaView Support
**Tags:** exodus, vtk
**Created:** [January 16, 2021, 5:14am UTC](https://discourse.paraview.org/t/vtkexodusii-issue-during-compilation-paraview-5-6-3/6237 "2021-01-16T05:14:28Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Ramkumar47](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/a587f6/32.png) [@Ramkumar47](https://discourse.paraview.org/u/Ramkumar47)
#### Post date: [January 16, 2021, 5:14am UTC](https://discourse.paraview.org/t/vtkexodusii-issue-during-compilation-paraview-5-6-3/6237/1 "2021-01-16T05:14:28Z")

</div>

Hi all,  
i am trying to compile OpenFOAM v2012 in my Archlinux machine, i successfully compiled OpenFOAM part, but when compiling Paraview-5.6.3, i am facing the following issue

 ![2021-01-16-101654_1432x201_scrot](https://discourse.paraview.org/uploads/default/original/2X/3/3c714a7b0efe099488831d68840f1a87e5f49412.png)  
i tried the same on OpenFOAM v2006 and got same issue… so i think it is something to do with my config… when i checked online, i found similar issue faced by someone with other tool that uses vtk [https://discourse.slicer.org/t/build-fails-in-vtkexodus-on-linux/12018](https://discourse.slicer.org/t/build-fails-in-vtkexodus-on-linux/12018)

i have attached my log entry during compilation… [log.paraviewCompile2](https://discourse.paraview.org/uploads/short-url/z1g1eU3uyLKncC0QVBFR2MARKkZ.paraviewCo) (317.0 KB)  
could u plz help me in fixing this?.. thank you in advance

P.S. i searched existing topics in here for the issue, i couldnt find one, so i created a new topic

---

<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: [January 18, 2021, 9:46am UTC](https://discourse.paraview.org/t/vtkexodusii-issue-during-compilation-paraview-5-6-3/6237/2 "2021-01-18T09:46:59Z")

</div>

Can you try building a more recent version of ParaVIew ?

---

<div class="post-metadata">

### Author: ![Ramkumar47](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/a587f6/32.png) [@Ramkumar47](https://discourse.paraview.org/u/Ramkumar47)
#### Post date: [January 18, 2021, 10:19am UTC](https://discourse.paraview.org/t/vtkexodusii-issue-during-compilation-paraview-5-6-3/6237/3 "2021-01-18T10:19:54Z")

</div>

i tried it and it got compiled successfully… but i cant use that because, the OpenFOAM plugins are compatible only with the version of Paraview that it ships with. and that is 5.6.3. I need the same paraview version to work because my workstyle depends on those plugins from OpenFOAM

---

<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: [January 18, 2021, 10:22am UTC](https://discourse.paraview.org/t/vtkexodusii-issue-during-compilation-paraview-5-6-3/6237/4 "2021-01-18T10:22:22Z")

</div>

Even if you build 5.6.3, it would not have been compatible. You either need to use paraFOAM, shipped with OpenFOAM, or build the plugins yourself.

By the way, ParaView already contains a different OpenFOAM reader that can be used directly.

---

<div class="post-metadata">

### Author: ![Ramkumar47](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/a587f6/32.png) [@Ramkumar47](https://discourse.paraview.org/u/Ramkumar47)
#### Post date: [April 8, 2021, 6:21am UTC](https://discourse.paraview.org/t/vtkexodusii-issue-during-compilation-paraview-5-6-3/6237/5 "2021-04-08T06:21:54Z")

</div>

Hi, i compiled OpenFOAM v2012 on OpenSUSE Tumbleweed machine but not the Paraview like before… but this time, it threw a bunch of ‘undefined reference’ errors, the starting of the error is given as below  
`[54%] Building CXX object VTK/Wrapping/Python/CMakeFiles/vtkFiltersGeneralPythonD.dir/vtkWarpLensPython.cxx.o /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/vtkProbeOpenGLVersion.dir/vtkProbeOpenGLVersion.cxx.o: in function 'vtkRenderingOpenGL2_ModuleInit::~vtkRenderingOpenGL2_ModuleInit()': vtkProbeOpenGLVersion.cxx:(.text._ZN30vtkRenderingOpenGL2_ModuleInitD2Ev[_ZN30vtkRenderingOpenGL2_ModuleInitD5Ev]+0x5): undefined reference to 'vtkRenderingOpenGL2_AutoInit_Destruct()' `

i tried installing vtk library and compiling, but this time also same error… i tried compiling the VTK version that comes with OpenFOAM, there also a similar error is occuring, as shown below.  
`[89%] Linking CXX shared library ../../lib/libvtkRenderingVolumeOpenGL2-8.2.so /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: CMakeFiles/vtkProbeOpenGLVersion.dir/vtkProbeOpenGLVersion.cxx.o: in function main': vtkProbeOpenGLVersion.cxx:(.text.startup+0x12): undefined reference to vtkRenderer::New()' `

could u plz tell me what am i missing in here?.. thank you

---

<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: [April 27, 2021, 7:55am UTC](https://discourse.paraview.org/t/vtkexodusii-issue-during-compilation-paraview-5-6-3/6237/6 "2021-04-27T07:55:07Z")

</div>

unrelated, open another topic.

---

<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: [April 27, 2021, 7:55am UTC](https://discourse.paraview.org/t/vtkexodusii-issue-during-compilation-paraview-5-6-3/6237/7 "2021-04-27T07:55:12Z")

</div>


