[Insight-users] Re: Question
luis.ibanez at kitware.com
Fri Jul 2 09:42:04 EDT 2004
If your project can not find the ITK headers, that indicates that your
CMakeLists.txt file is not looking for ITK in the correct way.
Please read the GettingStarted-I Tutorial, where you will find step
by step instructions on how to configure the CMakeLists.txt file for
a project that uses ITK.
You will find all the tutorials at:
and the GettingStarted-I session at:
You will find a minimal example of how to use ITK from an external
project in the directory:
The CMakeLists.txt file looks like
# Find ITK.
MESSAGE(FATAL_ERROR "Cannot build without ITK. Please set ITK_DIR.")
ADD_EXECUTABLE(HelloWorld HelloWorld.cxx )
you will find similar instructions on the Installation
Chapter of the SoftwareGuide
> I am working on a project which involves reading in a DICOM file and then
> displaying it in VTK. I created a CXX file and a Makelist file then I
> Configured it in CMake. When I tried to build it I get an error that says
> fatal error C1083: Cannot open include file: 'itkImage.h': No such file or
> What have I done wrong?
> I asked you a question once before about VTK and you said that I could
> subscribe to a users group at
> http://public.kitware.com/mailman/listinfo/vtkusers however after signing up
> my questions keep being bounced back because it does not yet recognize me as a
> group member. This is why I have emailed you again.
More information about the Insight-users