Re: Examples don't Configure with New Module Structure
Trinian Gordon <[email protected]> Fri, 8 Feb 2019 21:06:32 +0000
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <CO2PR07MB2567399DF62AD8CA67518ED78A690@CO2PR07MB2567.namprd07.prod.outlook.com> |
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. -Trinian ________________________________ From: Ben Boeckel <[email protected]> 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? --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