# Complete VTK build? (except modules depending on external libraries)

**URL:** https://discourse.vtk.org/t/complete-vtk-build-except-modules-depending-on-external-libraries/2125
**Category:** Support
**Created:** [November 22, 2019, 9:37am UTC](https://discourse.vtk.org/t/complete-vtk-build-except-modules-depending-on-external-libraries/2125 "2019-11-22T09:37:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cesss](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cesss/32/1418_2.png) [@cesss](https://discourse.vtk.org/u/cesss)
#### Post date: [November 22, 2019, 9:37am UTC](https://discourse.vtk.org/t/complete-vtk-build-except-modules-depending-on-external-libraries/2125/1 "2019-11-22T09:37:06Z")

</div>

I’m using the master branch. I wasn’t able to find info on how to do a **complete build** of VTK (that is, excluding modules depending on external libs). After running ccmake iteratively, as explained in the documentation, I thought I had marked everything I needed, but then, I try the GLTFImporter example, and I got

“Skipping GLTFImporter: Could not find the VTK package with the following required components: RenderingContextOpenGL2”

I’m surprised that VTK built without such component, but, anyway, can’t I just tell ccmake to build everything? (everything except for external libs not available) How can I do it?

Thanks!

---

<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 22, 2019, 12:26pm UTC](https://discourse.vtk.org/t/complete-vtk-build-except-modules-depending-on-external-libraries/2125/2 "2019-11-22T12:26:41Z")

</div>

You can tell VTK to build all modules (that aren’t blocked by options like `VTK_USE_MPI` or whether Python wrapping is available) by setting `VTK_BUILD_ALL_MODULES=ON`. You’ll have to set specific modules to `=NO` if you don’t have the dependencies for them (that information is not known to the top-level selection mechanisms). Off hand, modules which tend to have dependencies:

- Infovis (Boost deps)
- IO (various, particularly IOSQL\*)
- RenderingRayTracing (OSPRay and VisRTX depending on options)

---

<div class="post-metadata">

### Author: ![cesss](https://discourse.vtk.org/user_avatar/discourse.vtk.org/cesss/32/1418_2.png) [@cesss](https://discourse.vtk.org/u/cesss)
#### Post date: [November 23, 2019, 11:54am UTC](https://discourse.vtk.org/t/complete-vtk-build-except-modules-depending-on-external-libraries/2125/3 "2019-11-23T11:54:24Z")

</div>

Thanks a lot!!
