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 |
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 |
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 <[hidden email]>
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 |
On Fri, Feb 08, 2019 at 21:06:32 +0000, Trinian Gordon 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. Bill said he had them updated. Are you using the latest `master` version of VTKExamples? --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 |
Yes, that's where the download link goes too. I downloaded it today to make sure.
I've tried using the cmake-gui as well with the same result.
From: Ben Boeckel <[hidden email]>
Sent: February 8, 2019 2:17 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 21:06:32 +0000, Trinian Gordon 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. Bill said he had them updated. Are you using the latest `master` version of VTKExamples? --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 |
In reply to this post by Trinian Gordon
That should work. On Fri, Feb 8, 2019, 1:06 PM Trinian Gordon <[hidden email] wrote:
_______________________________________________ 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 |
In reply to this post by Trinian Gordon
Where are you pointing VTK_DIR?
On Fri, Feb 8, 2019 at 12:25 PM Trinian Gordon <[hidden email]> 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 |
Try removing the QUIET modifier in the CMakeLists.txt. You will get some more informative error message Bill On Fri, Feb 8, 2019, 4:12 PM Bill Lorensen <[hidden email] wrote: Where are you pointing VTK_DIR? _______________________________________________ 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 |
In reply to this post by Trinian Gordon
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
___________________________________________ 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 |
In reply to this post by Bill Lorensen
Thanks Bill. Removing the quiet modifier showed a little bit more informative error message.
I am building VTK with TBB and now need to manually specify the TBB parameters used to configure the VTK build in any examples I build against VTK. With the manual TBB specification, the examples will configure, build, and run.
-Trinian
From: Bill Lorensen <[hidden email]>
Sent: February 9, 2019 11:32 AM To: Trinian Gordon Cc: VTK Users Mailing List Subject: Re: [vtkusers] Examples don't Configure with New Module Structure Try removing the QUIET modifier in the CMakeLists.txt. You will get some more informative error message
Bill
On Fri, Feb 8, 2019, 4:12 PM Bill Lorensen <[hidden email] wrote:
Where are you pointing VTK_DIR? _______________________________________________ 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 |
On Mon, Feb 11, 2019 at 17:24:11 +0000, Trinian Gordon wrote:
> Thanks Bill. Removing the quiet modifier showed a little bit more > informative error message. > > I am building VTK with TBB and now need to manually specify the TBB > parameters used to configure the VTK build in any examples I build > against VTK. With the manual TBB specification, the examples will > configure, build, and run. Ah, that makes sense. Please see this issue to track fixing this in VTK: https://gitlab.kitware.com/vtk/vtk/issues/17503 --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 |
Free forum by Nabble | Edit this page |