[vtkusers] Examples don't Configure with New Module Structure

Ben Boeckel ben.boeckel at kitware.com
Fri Feb 8 15:39:33 EST 2019


On Fri, Feb 08, 2019 at 20:24:53 +0000, Trinian Gordon wrote:
> I'm trying to build the TissueLens example, along with other examples,
> and all the examples that I have tried now fail in cmake with the
> error message:

Where does this example live? WikiExamples? Somewhere else?

> Could not find the VTK package with the following required components:
> CommonCore, CommonDataModel, FiltersCore, FiltersGeneral,
> FiltersSources, IOImage, InteractionStyle, RenderingContextOpenGL2,
> RenderingCore, RenderingFreeType, RenderingOpenGL2.
> 
> I am building against a master source build of VTK, and have noticed
> that the /lib/cmake/vtk-#/Modules folder is no longer created with a
> vtk build & install. CMake 3.10 vs 3.13.4 makes no difference.

There's nothing to put in that directory. Modules are now just plain
CMake targets with their usage requirements attached to them.

> All of these modules are built and exist in the /lib and /bin folders,
> but cmake doesn't find them. Any ideas?

What CMake code are you using to find VTK?

--Ben


More information about the vtkusers mailing list