[Insight-users] Core dump using InsightSNAP

Vince Hradil hradilv at yahoo.com
Wed Oct 20 17:29:48 EDT 2004


Now I get a compile error:

Building object file Logic/Framework/SNAPImageData.o...
In file included from
/amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.h:188,
                 from
/amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/Framework/SNAPImageData.cxx:21:
/amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:183:
error: no
   `void SNAPLevelSetDriver<VDimension>::Restart()' member function declared in

   class `SNAPLevelSetDriver<VDimension>'
/amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:183:
error: template
   definition of non-template `void SNAPLevelSetDriver<VDimension>::Restart()'
/amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:197:
error: no
   `void SNAPLevelSetDriver<VDimension>::Run(unsigned int)' member function 
   declared in class `SNAPLevelSetDriver<VDimension>'
/amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:197:
error: template
   definition of non-template `void 
   SNAPLevelSetDriver<VDimension>::Run(unsigned int)'
/amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:
In
   member function `void 
   SNAPLevelSetDriver<VDimension>::DoCreateLevelSetFilter() [with unsigned int 
   VDimension = 3]':
/amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:72:
  instantiated from
`SNAPLevelSetDriver<VDimension>::SNAPLevelSetDriver(itk::Image<float,
VDimension>*, itk::Image<float, VDimension>*, const SnakeParameters&, typename
SNAPLevelSetFunction<itk::Image<float, VDimension> >::VectorImageType*) [with
unsigned int VDimension = 3]'
/amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/Framework/SNAPImageData.cxx:556:
  instantiated from here
/amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:175:
error: `
   SetManualReinitialization' undeclared (first use this function)
/amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:175:
error: (Each
   undeclared identifier is reported only once for each function it appears 
   in.)
/amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:176:
error: `
   SetNumberOfIterations' undeclared (first use this function)
make[3]: *** [Logic/Framework/SNAPImageData.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_SNAP] Error 2
make: *** [default_target] Error 2


--- Julien Jomier <jjomier at cs.unc.edu> wrote:

> Hi Vince,
> 
> This bug was introduced by mistake in 1.8 and should be now fixed in the
> cvs. An easy fix is to uncomment the commented lines in
> SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx
> I've attached the file, you can just replace it in SNAP/Logic/LevelSet/
> 
> Let us know if that was the problem,
> 
> Julien
> 


=====
Vince 

http://vincehradil.tripod.com

  O_/ 
_/| 
 _)\ 
'   \. o


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com


More information about the Insight-users mailing list