# Compilation error when compiling ParaView 5.4.1

**URL:** https://discourse.paraview.org/t/compilation-error-when-compiling-paraview-5-4-1/425
**Category:** ParaView Support
**Created:** [August 13, 2018, 8:13pm UTC](https://discourse.paraview.org/t/compilation-error-when-compiling-paraview-5-4-1/425 "2018-08-13T20:13:16Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![g.mitchell](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/97f17d/32.png) [@g.mitchell](https://discourse.paraview.org/u/g.mitchell)
#### Post date: [August 13, 2018, 8:13pm UTC](https://discourse.paraview.org/t/compilation-error-when-compiling-paraview-5-4-1/425/1 "2018-08-13T20:13:16Z")

</div>

Hey All,

I’m trying to get ParaView up and running on our system. There are no issues with ccmake during configuration or generation, however, when I actually go to compile the code it fails with the error:

In member function ‘void vtkAOSDataArrayTemplate::SetTupleValue(vtkIdType, const ValueType\*)’:  
/gpfs/ParaviewSource/ParaView-v5.4.1/VTK/Common/Core/vtkAOSDataArrayTemplate.txx:453:28: error: ‘template\<class DerivedT, class ValueTypeT\> class vtkGenericDataArray’ used without template parameters  
vtkGenericDataArray::SetTypedTuple)

This seems like a fairly standard compilation error, but I haven’t changed anything in the ParaView source code, so I can’t imagine why there should be syntax errors or similar in the code. I have to assume this is caused by some errors in my parameters, but nothing I’ve tried has made a difference.

Thanks

Edit: Just in case anybody is reading this in the future with the same issue, the solution appears to have been to delete the original source code, re-download a fresh copy, and compile that.

---

<div class="post-metadata">

### Author: ![Dave\_DeMarle](https://discourse.paraview.org/user_avatar/discourse.paraview.org/dave_demarle/32/27_2.png) [@Dave\_DeMarle](https://discourse.paraview.org/u/Dave_DeMarle)
#### Post date: [August 13, 2018, 9:05pm UTC](https://discourse.paraview.org/t/compilation-error-when-compiling-paraview-5-4-1/425/2 "2018-08-13T21:05:38Z")

</div>

Seems like an incompatibility with the compiler. What compiler and version are you on?

---

<div class="post-metadata">

### Author: ![g.mitchell](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/97f17d/32.png) [@g.mitchell](https://discourse.paraview.org/u/g.mitchell)
#### Post date: [August 14, 2018, 12:14pm UTC](https://discourse.paraview.org/t/compilation-error-when-compiling-paraview-5-4-1/425/3 "2018-08-14T12:14:37Z")

</div>

gcc 6.0, I’m fairly certain I’ve compiled ParaView using that compiler previously though.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [August 14, 2018, 1:17pm UTC](https://discourse.paraview.org/t/compilation-error-when-compiling-paraview-5-4-1/425/4 "2018-08-14T13:17:18Z")

</div>

If you used git to get the source code, did you run `git submodule update --recursive` in the ParaView directory?

---

<div class="post-metadata">

### Author: ![g.mitchell](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/97f17d/32.png) [@g.mitchell](https://discourse.paraview.org/u/g.mitchell)
#### Post date: [August 14, 2018, 1:19pm UTC](https://discourse.paraview.org/t/compilation-error-when-compiling-paraview-5-4-1/425/5 "2018-08-14T13:19:10Z")

</div>

I don’t believe I used git, If I recall correctly I just downloaded the source off the ParaView website.

For what it’s worth I’ve previously compiled this code some time ago (with the debug flags on) and now I’m attempting to recompile for release.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [August 27, 2018, 12:59pm UTC](https://discourse.paraview.org/t/compilation-error-when-compiling-paraview-5-4-1/425/6 "2018-08-27T12:59:49Z")

</div>

> [@g.mitchell](#):
>
> Edit: Just in case anybody is reading this in the future with the same issue, the solution appears to have been to delete the original source code, re-download a fresh copy, and compile that.

Thanks for letting us know.
