Re: Examples don't Configure with New Module Structure

Ben Boeckel via vtkusers <[email protected]> Fri, 8 Feb 2019 15:39:33 -0500
Newsgroups gmane.comp.lib.vtk.user
Message-ID <20190208203933.GD28631@rotor>
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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers