# vtk 9.0.1 build problems

**URL:** https://discourse.vtk.org/t/vtk-9-0-1-build-problems/5652
**Category:** Support
**Created:** [April 27, 2021, 10:06pm UTC](https://discourse.vtk.org/t/vtk-9-0-1-build-problems/5652 "2021-04-27T22:06:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bhb2048](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/df788c/32.png) [@bhb2048](https://discourse.vtk.org/u/bhb2048)
#### Post date: [April 27, 2021, 10:06pm UTC](https://discourse.vtk.org/t/vtk-9-0-1-build-problems/5652/1 "2021-04-27T22:06:41Z")

</div>

I downloaded and unpacked vtk-9.0.1. I used cmake in a ‘build’ subdirectory to create the Makefile with ‘Debug’ on. I’m getting several ‘use of deleted function’ errors. The first is:

[2%] Building CXX object Common/Core/CMakeFiles/CommonCore.dir/vtkSOADataArrayTemplateInstantiate.cxx.o  
In file included from /usr/local/VTK-9.0.1/Common/Core/vtkGenericDataArray.h:422,  
from /usr/local/VTK-9.0.1/Common/Core/vtkSOADataArrayTemplate.h:33,  
from /usr/local/VTK-9.0.1/Common/Core/vtkSOADataArrayTemplate.txx:19,  
from /usr/local/VTK-9.0.1/Common/Core/vtkSOADataArrayTemplateInstantiate.cxx:23:  
/usr/local/VTK-9.0.1/Common/Core/vtkGenericDataArray.txx: In instantiation of ‘vtkGenericDataArray\<DerivedT, ValueTypeT\>::vtkGenericDataArray() [with DerivedT = vtkSOADataArrayTemplate; ValueTypeT = int]’:  
/usr/local/VTK-9.0.1/Common/Core/vtkSOADataArrayTemplate.txx:36:20: required from ‘vtkSOADataArrayTemplate::vtkSOADataArrayTemplate() [with ValueTypeT = int]’  
/usr/local/VTK-9.0.1/Common/Core/vtkSOADataArrayTemplateInstantiate.cxx:28:1: required from here  
/usr/local/VTK-9.0.1/Common/Core/vtkGenericDataArray.txx:913:64: error: use of deleted function ‘vtkGenericDataArrayLookupHelper::vtkGenericDataArrayLookupHelper() [with ArrayTypeT = vtkGenericDataArray\<vtkSOADataArrayTemplate, int\>]’  
913 | vtkGenericDataArray\<DerivedT, ValueTypeT\>::vtkGenericDataArray()  
| ^

I can’t figure out how to fix this. Can anyone help?  
Thanks  
Barry

---

<div class="post-metadata">

### Author: ![bhb2048](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/df788c/32.png) [@bhb2048](https://discourse.vtk.org/u/bhb2048)
#### Post date: [April 27, 2021, 10:08pm UTC](https://discourse.vtk.org/t/vtk-9-0-1-build-problems/5652/2 "2021-04-27T22:08:24Z")

</div>

I should have added I’m running on Fedora 33.

---

<div class="post-metadata">

### Author: ![danlipsa](https://discourse.vtk.org/user_avatar/discourse.vtk.org/danlipsa/32/390_2.png) [@danlipsa](https://discourse.vtk.org/u/danlipsa)
#### Post date: [April 28, 2021, 1:36pm UTC](https://discourse.vtk.org/t/vtk-9-0-1-build-problems/5652/3 "2021-04-28T13:36:43Z")

</div>

What compiler are you using? You could try to downgrade your compiler: gcc 7.5 would be a safer bet.

Dan
