What error do you get if you run cmake without the # on those two lines?
(Copy and paste the output of running cmake please.)
On Wed, Feb 18, 2009 at 11:54 AM, Yixun Liu wrote:
> David Cole wrote:
> > Change this:
> > #FIND_PACKAGE(VTK REQUIRED)
> > #INCLUDE(${VTK_USE_FILE})
> >
> > to this:
>
David Cole wrote:
> Change this:
> #FIND_PACKAGE(VTK REQUIRED)
> #INCLUDE(${VTK_USE_FILE})
>
> to this:
> FIND_PACKAGE(VTK REQUIRED)
> INCLUDE(${VTK_USE_FILE})
>
>
> (Remove the comment character # -- those lines are commented out...)
>
>
> HTH,
> David
>
>
> On Wed, Feb 18, 2009 at 8:26 AM, Yixun
Change this:#FIND_PACKAGE(VTK REQUIRED)
#INCLUDE(${VTK_USE_FILE})
to this:
FIND_PACKAGE(VTK REQUIRED)
INCLUDE(${VTK_USE_FILE})
(Remove the comment character # -- those lines are commented out...)
HTH,
David
On Wed, Feb 18, 2009 at 8:26 AM, Yixun Liu wrote:
> Hi,
> I developed an applicatio
Hi,
I developed an application, which has many CMakeList, based on VTK. One of
CMakelist files is like the
following,
#FIND_PACKAGE(VTK REQUIRED)
#INCLUDE(${VTK_USE_FILE})
...
TARGET_LINK_LIBRARIES(TetrahedrisationNG
Basics
Graphics2DNG
Graphics3DNG
vtkIO
vtkCommon