# Building OpenCascade 7.5.0 with VTK 9.0.1

**URL:** https://discourse.vtk.org/t/building-opencascade-7-5-0-with-vtk-9-0-1/4673
**Category:** Support
**Created:** [November 16, 2020, 10:11pm UTC](https://discourse.vtk.org/t/building-opencascade-7-5-0-with-vtk-9-0-1/4673 "2020-11-16T22:11:04Z")
**Posts on this page:** 3
**Page:** 2

<div class="post-metadata">

### Author: ![Richard\_Shaw](https://discourse.vtk.org/user_avatar/discourse.vtk.org/richard_shaw/32/865_2.png) [@Richard\_Shaw](https://discourse.vtk.org/u/Richard_Shaw)
#### Post date: [November 25, 2020, 2:39pm UTC](https://discourse.vtk.org/t/building-opencascade-7-5-0-with-vtk-9-0-1/4673/21 "2020-11-25T14:39:07Z")

</div>

Ok, the last problem (I HOPE!)…

It looks like vtk is trying to download during the build. This is not allowed for official builds.

```
-- Fetching "https://data.kitware.com/api/v1/file/hashsum/MD5/eaab2cdba68e8630f9a1f8a8e81cb097/download"
-- Fetching "https://www.vtk.org/files/ExternalData/MD5/eaab2cdba68e8630f9a1f8a8e81cb097"
CMake Error at /usr/share/cmake/Modules/ExternalData.cmake:1121 (message):
  
  Object MD5=eaab2cdba68e8630f9a1f8a8e81cb097 not found at:
    https://data.kitware.com/api/v1/file/hashsum/MD5/eaab2cdba68e8630f9a1f8a8e81cb097/download ("Couldn't resolve host name")
    https://www.vtk.org/files/ExternalData/MD5/eaab2cdba68e8630f9a1f8a8e81cb097 ("Couldn't resolve host name")

```

Is there a cmake option to prevent this?

Thanks,  
Richard

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [November 25, 2020, 3:22pm UTC](https://discourse.vtk.org/t/building-opencascade-7-5-0-with-vtk-9-0-1/4673/22 "2020-11-25T15:22:29Z")

</div>

You can use the `VTKData` and `VTKLargeData` tarballs to pre-seed this data so that it does not need to be downloaded. Alternatively, you can disable compiling tests which should avoid all downloads.

---

<div class="post-metadata">

### Author: ![Richard\_Shaw](https://discourse.vtk.org/user_avatar/discourse.vtk.org/richard_shaw/32/865_2.png) [@Richard\_Shaw](https://discourse.vtk.org/u/Richard_Shaw)
#### Post date: [November 25, 2020, 4:19pm UTC](https://discourse.vtk.org/t/building-opencascade-7-5-0-with-vtk-9-0-1/4673/23 "2020-11-25T16:19:01Z")

</div>

Ahh… I have the VTK-Data archive, not the LargeData, so that should do it.

[Previous page](https://discourse.vtk.org/t/building-opencascade-7-5-0-with-vtk-9-0-1/4673.md?page=1)
