[Insight-users] watershed example does not compile

Mathieu Malaterre mmalat@irus.rri.ca
Tue, 09 Apr 2002 20:45:53 -0400


This is a multi-part message in MIME format.
--------------24F1F4D763DDE558F463FDD0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi Paul
  I'm using Linux too. But I'm using itk from the cvs...because I enter in a lot of problems from the tar.gz
archive.
I can send you my CMakeCache.txt file but won't be usefull since I only choose:
BUILD_WATERSHED_SEGMENTATION:BOOL=ON
that's all.
Mathieu

Paul Berube wrote:

> ok, here it is...
>
> this is after running ccmake in the source directory (the Waterhshed...)
> directory does not exist in the out-of-source examples directory where itk
> was built.  make was also run in this dir.
>
> [berube@horse-rv WatershedSegmentation]$ make
> /compsci/robb/ugrad/berube/bin/cmake
> -S/compsci/robb/ugrad/berube/Insight/Examples/WatershedSegmentation
> -O/compsci/robb/ugrad/berube/Insight/Examples/WatershedSegmentation
> -H/compsci/robb/ugrad/berube/Insight/Examples/WatershedSegmentation
> -B/compsci/robb/ugrad/berube/Insight/Examples/WatershedSegmentation
> cmake.depends is up-to-date
> c++ -g -O2
> -I/compsci/robb/ugrad/berube/Insight/Examples/WatershedSegmentation
> -I/Code/Common -I/Code/IO -I/Code/BasicFilters -I/Code/Algorithms
> -I/Examples/WatershedSegmentationExample   -c
> /compsci/robb/ugrad/berube/Insight/Examples/WatershedSegmentation/itkWatershedSegmentationExample.cxx
> -o itkWatershedSegmentationExample.o
> /compsci/robb/ugrad/berube/Insight/Examples/WatershedSegmentation/itkWatershedSegmentationExample.cxx:17:37:
> itkWatershedImageFilter.h: No such file or directory
> /compsci/robb/ugrad/berube/Insight/Examples/WatershedSegmentation/itkWatershedSegmentationExample.cxx:18:57:
> itkCurvatureAnisotropicDiffusionImageFilter.h: No such file or directory
> /compsci/robb/ugrad/berube/Insight/Examples/WatershedSegmentation/itkWatershedSegmentationExample.cxx:19:45:
> itkGradientMagnitudeImageFilter.h: No such file or directory
> /compsci/robb/ugrad/berube/Insight/Examples/WatershedSegmentation/itkWatershedSegmentationExample.cxx:20:36:
> itkImageRegionIterator.h: No such file or directory
> /compsci/robb/ugrad/berube/Insight/Examples/WatershedSegmentation/itkWatershedSegmentationExample.cxx:21:31:
> itkRawImageWriter.h: No such file or directory
> /compsci/robb/ugrad/berube/Insight/Examples/WatershedSegmentation/itkWatershedSegmentationExample.cxx:24:24:
> itkCommand.h: No such file or directory
> make[1]: *** [itkWatershedSegmentationExample.o] Error 1
> make: *** [default_target] Error 2
>
> Thanks!
>
> On Tue, 9 Apr 2002, Luis Ibanez wrote:
>
> >
> >Hi Paul,
> >
> >Could you please post to the list the full
> >text of the error messages that you are getting.
> >
> >That could help us to figure out what the
> >problem is.
> >
> >Also, please let us know about your platform:
> >are you using Windows, Linux, Solaris  ?
> >
> >In principle you don't need to modify the
> >CMakeLists.txt files that come with ITK examples.
> >The problem may probably be related with the
> >choices you select when running CMake.
> >
> >
> >   Thanks
> >
> >     Luis
> >
> >
> >=============================================================
> >
> >Paul Berube wrote:
> >> I've got the itk source compiling ok.  however, even though I have told it
> >> in cmake to compile the watershed example, it does not.
> >>
> >> I have tried to just compile the example in place after, and it complains
> >> about a lot of missing files... I tried to tell it where everything was in
> >> the CMakeLists.txt, but that just led to more missing file...
> >>
> >> Please help!  The wathershed segmentation is the whole reason I'm trying
> >> to use itk!
> >>
> >> btw, i'm running this on linux, the sourse is only about 2 weeks old (i
> >> don't know how to find which version it is).
> >>
> >> Thanks.
> >>
> >> --Paul
> >>
> >>
> >>   "Oh, there it is...
> >>       ...Then what the heck was that other piece of code we changed?"
> >>
> >> _______________________________________________
> >> Insight-users mailing list
> >> Insight-users@public.kitware.com
> >> http://public.kitware.com/mailman/listinfo/insight-users
> >>
> >>
> >
> >
> >
> >
> >_______________________________________________
> >Insight-users mailing list
> >Insight-users@public.kitware.com
> >http://public.kitware.com/mailman/listinfo/insight-users
> >
>
>   "Oh, there it is...
>       ...Then what the heck was that other piece of code we changed?"
>
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users

--------------24F1F4D763DDE558F463FDD0
Content-Type: text/x-vcard; charset=us-ascii;
 name="mmalat.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Mathieu Malaterre
Content-Disposition: attachment;
 filename="mmalat.vcf"

begin:vcard 
n:Malaterre;Mathieu
tel;cell:519-697-5045
tel;work:519-685-8300 x34096
x-mozilla-html:FALSE
url:http://www.irus.rri.ca/~mmalat
org:The John P. Robarts Research Institute;Imaging Research Laboratories
adr:;;100 Perth Drive;London;Ontario;N6A 5K8;CANADA
version:2.1
email;internet:mmalat@irus.rri.ca
title:Visiting Graduate Student
x-mozilla-cpt:;0
fn:Malaterre, Mathieu
end:vcard

--------------24F1F4D763DDE558F463FDD0--