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

Bill Lorensen bill.lorensen at gmail.com
Fri Feb 8 19:07:45 EST 2019


That should work.

On Fri, Feb 8, 2019, 1:06 PM Trinian Gordon <trinian.gordon at outlook.com
wrote:

> 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 <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?
>
> --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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190208/4b40264c/attachment.html>


More information about the vtkusers mailing list