Re: Examples don't Configure with New Module Structure
Andrew Maclean <[email protected]> Sun, 10 Feb 2019 08:36:22 +1100
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <CAHDsG9PVD3ORVF=vxdY3j0vYF+RX3TNNQnDELhEsqqRbGvjO+A@mail.gmail.com> |
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 <[email protected]> > To: Trinian Gordon <[email protected]> > Cc: VTK Users Mailing List <[email protected]> > 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 > <[email protected]> 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 ___________________________________________ _______________________________________________ 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