[Insight-users] watershed example does not compile
Paul Berube
berube@ugrad.cs.ualberta.ca
Tue, 9 Apr 2002 16:51:04 -0600 (MDT)
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?"