[vtkusers] Examples don't Configure with New Module Structure
trinian.gordon at outlook.com
Fri Feb 8 16:06:32 EST 2019
It's from: https://lorensen.github.io/VTKExamples/site/Cxx/Medical/TissueLens/
I'm downloading these examples, uncompressing to a folder, entering that folder (which contains the CMakeLists.txt and cxx file) and running: cmake -G "Visual Studio 15 2017 Win64" .
I have a VTK_DIR environment variable set to /lib/cmake/vtk-# for the version of VTK I want to use, as was required when building examples against VTK 8.1.
From: Ben Boeckel <ben.boeckel at kitware.com>
Sent: February 8, 2019 1:39 PM
To: Trinian Gordon
Cc: VTK Users Mailing List
Subject: Re: [vtkusers] Examples don't Configure with New Module Structure
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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers