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

Andrew Maclean andrew.amaclean at gmail.com
Sat Feb 9 16:36:22 EST 2019


I just ran a download and build in both Windows and Linux. There are no
problems, so I think this is a path issue.

In the top-level folder of your VTK build directory there is a file
called windows_path.bat. This will give you the paths needed when you build
against VTK.

e.g. something like:
set PATH=<path_to>/Kitware/build/VTK-Debug/bin;%PATH%

set PYTHONPATH=
<path_to>/Kitware/build/VTK-Debug/bin/Lib/site-packages;%PYTHONPATH%

Regards
   Andrew


>
> ---------- Forwarded message ----------
> From: Bill Lorensen <bill.lorensen at gmail.com>
> To: Trinian Gordon <trinian.gordon at outlook.com>
> Cc: VTK Users Mailing List <vtkusers at public.kitware.com>
> Bcc:
> Date: Fri, 8 Feb 2019 16:12:50 -0800
> Subject: Re: [vtkusers] Examples don't Configure with New Module Structure
> Where are you pointing VTK_DIR?
>
> On Fri, Feb 8, 2019 at 12:25 PM Trinian Gordon
> <trinian.gordon at outlook.com> 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:
> > 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.
> >
> > All of these modules are built and exist in the /lib and /bin folders,
> but cmake doesn't find them. Any ideas?
> >
> > -Trinian
> > _______________________________________________
> > 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
>
>
>
> --
> Unpaid intern in BillsParadise at noware dot com
>
> _______________________________________________
> 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
>


-- 
___________________________________________
Andrew J. P. Maclean

___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190210/e6633a64/attachment.html>


More information about the vtkusers mailing list