[Insight-users] Getting Started - II

Dean Inglis dean.inglis@on.aibn.com
Mon, 4 Nov 2002 12:10:39 -0500


Hi,

I am trying to build the example in 
InsightDocuments/CourseWare/Training/GettingStarted-II.ppt
but keep getting stumped on the
itkImageToVTKImageFilter object.  Since this
filter is not "built into" any static libs, how
can the compiler know about it?  I keep getting
'ImageToVTKImageFilter' is not a member of 'itk'
in function main(int, char * *)

adding 
INCLUDE_DIRECTORIES(${ITK_SOURCE_DIR}/Code/Auxiliary)
or 
INCLUDE_DIRECTORIES(${ITK_SOURCE_DIR}/Code/Auxiliary/vtk) 
to the CMakeLists.txt in my project's root dir does not help.

Dean