[Insight-users] using cmake GUI to set up a VTK project
Ronny Shalev
rys at case.edu
Tue Oct 23 12:53:27 EDT 2012
Hi,
I searched my whole hard drive and cold not find it. I did install the
binaries only, I did not compile from source.
Was this file supposed to be generated somehow?
Ronny
On Tue, Oct 23, 2012 at 12:47 PM, Matt McCormick <matt.mccormick at kitware.com
> wrote:
> Hi Ronny,
>
> On Tue, Oct 23, 2012 at 4:45 PM, Ronny Shalev <rys at case.edu> wrote:
> > Thanks.
> >
> > The only file I could find is VTKConfig.cmake.in
> >
> > This file did not have any entry for VTK_DIR. The only entry mentioning
> > VTK_DIR is:
> >
> > # The VTK Qt configuration.
> > IF(VTK_USE_QVTK)
> > INCLUDE(${VTK_DIR}/VTKConfigQt.cmake)
> > ENDIF(VTK_USE_QVTK)
> >
> >
> > Is there anything I need in order to generate VTKConfig.cmake?
>
> You will find this file in the VTK build directory.
>
> HTH,
> Matt
>
> >
> > Thanks
> >
> >
> >
> >
> >
> > On Tue, Oct 23, 2012 at 12:13 PM, Bill Lorensen <bill.lorensen at gmail.com
> >
> > wrote:
> >>
> >> Look for this file: VTKConfig.cmake
> >>
> >> set VTK_DIR to the directory containing this file.
> >>
> >> On Tue, Oct 23, 2012 at 12:11 PM, Ronny Shalev <rys at case.edu> wrote:
> >>>
> >>> I am trying to implement the Step 1 example program provided with the
> VTK
> >>> Examples. I am using the cmake GUI to try and create a project but I
> keep
> >>> getting the message:
> >>>
> >>> CMake Error at C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/
> >>> FindVTK.cmake:135 (MESSAGE):
> >>> VTK not found. Set the VTK_DIR cmake cache entry to the directory
> >>> containing VTKConfig.cmake. This is either the root of the build tree,
> or
> >>> PREFIX/lib/vtk for an installation. For VTK 4.0, this is the location
> of
> >>> UseVTK.cmake. This is either the root of the build tree or
> >>> PREFIX/include/vtk for an installation.
> >>> Call Stack (most recent call first):
> >>> CMakeLists.txt:6 (FIND_PACKAGE)
> >>>
> >>>
> >>> I specified the VTK_DIR using all possible locations, but this message
> >>> keeps returning and I cannot get started with VTK.
> >>>
> >>> My environment:
> >>> Microsoft Visual Studio 10 (cmake does find it)
> >>> VTK version 5.8.0 (installed under c:\Program Files\)
> >>> Cmake version: 2.8.9 (also installed under c:\Program Files\)
> >>>
> >>> I would greatly appreciate help in resolving this.
> >>>
> >>> Thanks for the help
> >>>
> >>> _____________________________________
> >>> Powered by www.kitware.com
> >>>
> >>> Visit other Kitware open-source projects at
> >>> http://www.kitware.com/opensource/opensource.html
> >>>
> >>> Kitware offers ITK Training Courses, for more information visit:
> >>> http://www.kitware.com/products/protraining.php
> >>>
> >>> Please keep messages on-topic and check the ITK FAQ at:
> >>> http://www.itk.org/Wiki/ITK_FAQ
> >>>
> >>> Follow this link to subscribe/unsubscribe:
> >>> http://www.itk.org/mailman/listinfo/insight-users
> >>>
> >>
> >>
> >>
> >> --
> >> Unpaid intern in BillsBasement at noware dot com
> >>
> >
> >
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.php
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121023/e21adfc5/attachment.htm>
More information about the Insight-users
mailing list